How do you get all the post request variables in C#?
asp.net, c#
Solution
You can get it from Request.Forms
foreach(string key in Request.Form.Keys )
{
Response.Write ( key );
}
Problem
I am getting a post from an external vendor. I am not exactly sure what variables they are sending. How do I print out all the Request variables that they are sending in the post? there is no Request.Count or Request.Length so that I could loop and find everything. Thanks in advance for your help.