HTTP Post

Apr 26 2006 12:39 PM

Hi all,

Can anyone give me an example on how to simulate an HTTP Post in C#? On a website you may have a submit button to click on that takes you to another page like the following:

<form name="login" action="http://www.mysite.com/cgi-bin/default.htm" method=POST ><input type="submit" value="Guest">

I want to use C# in a winapp either WebRequest/WebResponse or somethign to simulate as though that submit button was clicked.

Thanks!