Convert Form Post to VB.NET HTTPWebRequest code and Catch Response

J

JunkFan

I have been looking at several examples this evening and have not been ablet
to get a working conversion of this code. Could someone take the code below
that would have posted to a web service and show me how to do this in VB code
and to receive the response from the service please?

HTML EXAMPLE TO BE CONVERTED
-----------------------------------------------------
<form method="post" action="https://SomeWebAddress/process.cgi">
<input type="hidden" name="action" value="Type_Of_Acion">
<input type="hidden" name="acctid" value="TEST0">
<input type="hidden" name="amount" value="51.35">
<input type="hidden" name="ccname" value="Joe Customer">
<input type="hidden" name="ccnum" value="5454545454545454">
<input type="hidden" name="expmon" value="01">
<input type="hidden" name="expyear" value="2009">
<input type="submit">
</form>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top