Question How to send http post request ?

alander

Well-known member
Joined
Jun 26, 2007
Messages
120
Location
Singapore
Programming Experience
5-10
VB.NET:
<html>
<head></head>
<body>
<form action="index.aspx" method="post"><br />
<br />
<input maxlength="50" name="nme" size="50" value="Name" /><br />
<input maxlength="100" name="eml" size="50" value="E-mail/URL" /> <br />
<input maxlength="200" name="pst" size="50" value="message" /> <br />
<input name="sub" type="submit" value="Go" /><br />
</body>
</html>

Hi I got the above web page (as an example) this above webpage are found in serveral web location (e.g. www.test1.com/index.aspx, www.test2.com/index.aspx, www.test.com/index.aspx)

I got a windows form that will allow a user, to post a message to all the web locations with 1 click of a button..

How do i ensure that the 3 fields that the user have entered on my windows form match each textbox in the web page ?

Is using System.Net.WebRequest class the correct class to do what I want?
 
Back
Top