RequestQueryString-and-RequestParms

RequestQueryString-and-RequestParms


 Request.QueryString and Request.Parms

Both methods are used to accept parameters posted by third party to your server.

using Request.QueryString["parm1"] you can get only those values which are posted to your API using GET method.

e.g.

www.yourAPI.com/getParameter.ashx?parm1=hi+test

To accept parameters posted using GET or POST methots, you can use Request.Parms["parm1"]

 

Tags:

Author

My name is Satalaj, but people call me Sat. Here is my homepage: . I live in Pune, PN and work as a Software Engineer. I'm former MVP in ASP.net year 2010.
Disclaimer: Views or opinion expressed here are my personal research and it has nothing to do with my employer. You are free to use the code, ideas/hints in your projects. However, you should not copy and paste my original content to other web sites. Feel free to copy or extend the code.
If you want to fight with me, this website is not for you.
 

I'm Satalaj.