How to find the parameters of POST request to asp.net website?

Posted by Prabu_Spark under ASP.NET on 8/6/2014 | Points: 10 | Views : 1307 | Status : [Member] | Replies : 1
Hi sir,
Can u tell me the steps to find the parameters of POST request to asp.net website. Consider one website that is having login page, that is authenticating using username and password by using the POST method request.

My question is, how to find the parameter name (i.e variable name of parameter). Kindly give me the solution for this problem.

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: kgovindarao523-21772 on: 8/6/2014 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

In ASP.NET, There is NO external POST method concept, the information can be accessed in asp button click. ASP.NET may internally implements POST.

But In MVC, we have to specify the form which contains UserName And Password, method is POST, and the name attribute of the input fields must be same in the ACTION method.
so variable name of parameter must be is equals to input field name.

Thank you,
Govind

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response