dcsimg
Results 1 to 8 of 8

Thread: How to Post data through HTTP?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    15

    How to Post data through HTTP?

    Hi,
    I am not able to post data to server through this code.Can any one please correct my code or tell me some other way to do it..

    Dim objXML As MSXML2.XMLHTTP
    dim XMLString as string

    Set objXML = New MSXML2.XMLHTTP

    XMLString="ABCDEFGHIJ"

    objXML.open "Post", UploadUrl, False ' UploadUrl is the variable which contains the url
    objXML.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    objXML.send XMLString


    Thanks

  2. #2

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    15

    [Resolved] How to Post data through HTTP?

    I got the answer..

  3. #3
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: How to Post data through HTTP?

    Please do us a favor, and set the topic as resolved. Thanks!

  4. #4

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    15

    Re: [Resolved] How to Post data through HTTP?

    It is new to me.. How should i do that?

  5. #5
    Frenzied Member Jim Davis's Avatar
    Join Date
    Mar 2001
    Location
    Mars base one Username: Jim Davis Password: yCrm33
    Posts
    1,284

    Re: How to Post data through HTTP?

    It's easy. If you got Javascript enabled in your browser (it is by default) you just have to click on the Thread Tools menu at the top of this thread, and select Mark Thread Resolved.

  6. #6

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    15

    Re: How to Post data through HTTP?

    Hi, I didnt find any option to mark thread as resolved

  7. #7
    Software Carpenter dee-u's Avatar
    Join Date
    Feb 2005
    Location
    Candon City, Ilocos Sur, Phils.
    Posts
    11,014

    Re: How to Post data through HTTP?

    In the Thread Tools menu?
    Regards,


    As a gesture of gratitude please consider rating helpful posts. c",)

    Some stuffs: Mouse Hotkey | Compress file using SQL Server! | WPF - Rounded Combobox | WPF - Notify Icon and Balloon | NetVerser - a WPF chatting system

  8. #8

    Thread Starter
    New Member
    Join Date
    Oct 2009
    Posts
    15

    Re: How to Post data through HTTP?

    i didnt find any

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width