I am requesting a cfm page by clicking on a link (<a href="admin/index.cfm">Admin</a>). While checking the network traffic in IE developer tool I can see the Request type as "GET". I need to change this to POST method. Is there any way to do this?. I know this is browser's default behaviour.
<form action="admin/index.cfm" method="post">
<input name="sbmt" type="submit" value="Admin">
If you insist on a link:
<form action="admin/index.cfm" method="post" name="myForm">
<input name="message" type="hidden" value="They are on the way!!!">
Agreed.... You posted the same solution as I found and you answered the question. But I was expecting a generalized solution, in fact my question should have been more specific and sorry for missing that out. I will elaborate my question little more as below.
Also I would like to tell you one thing that the PCI scanner fund this (changing request type from GET to POST while clicking on link(s) ) as a security concern even though there is no sensitive date found. That is the reason why I am trying to figure out a solution to change the request type from GET to POST while clicking on a link(s). I strictly believe , with my knowledge , that this should not be a security concern unless there is some sensitive data. Note that I am not asking a second question here but I am just telling you the reason why I opened this thread here.