Re: Convert Form Post to VB.NET HTTPWebRequest code and Catch Response
- From: "Patrice" <http://www.chez.com/scribe/>
- Date: Thu, 23 Oct 2008 09:46:33 +0200
See System.Net.WebClient and the UploadValues methods. It allows to send
field/value pairs to un URL...
"JunkFan" <JunkFan@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
groupe de discussion : 24D694F6-97D3-428D-BBF5-CB9D0CEC1211@xxxxxxxxxxxxxxxx
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>
.
- References:
- Prev by Date: Re: No asmx filename
- Next by Date: Re: WebService not Updating Properly
- Previous by thread: Convert Form Post to VB.NET HTTPWebRequest code and Catch Response
- Next by thread: Re: WebService not Updating Properly
- Index(es):
Relevant Pages
|
Loading