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

Discussion in 'ASP .Net Web Services' started by JunkFan, Oct 23, 2008.

  1. JunkFan

    JunkFan Guest

    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>
     
    JunkFan, Oct 23, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ron Vecchi
    Replies:
    4
    Views:
    2,497
    Cliff Harris
    Jun 16, 2004
  2. Rachet?
    Replies:
    6
    Views:
    9,427
    Scott Allen
    Jul 16, 2004
  3. Scott Allen
    Replies:
    0
    Views:
    4,325
    Scott Allen
    May 15, 2005
  4. =?Utf-8?B?RGF2ZSBCcm93bg==?=

    HttpWebRequest POST result is not the same as POST via ServerXMLHT

    =?Utf-8?B?RGF2ZSBCcm93bg==?=, Nov 8, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,167
    Joerg Jooss
    Nov 10, 2005
  5. Natalia
    Replies:
    4
    Views:
    830
    Natalia
    Dec 5, 2006
Loading...

Share This Page