HTTP GET and POST REQUEST

This is a discussion on HTTP GET and POST REQUEST within the Networking/Device Communication forums, part of the General Programming Boards category; Dear ALL, How can I send a HTTP POST and GET Request using C++? Thank you...

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    50

    HTTP GET and POST REQUEST

    Dear ALL,
    How can I send a HTTP POST and GET Request using C++?
    Thank you

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    Read http://beej.us/guide/bgnet/
    Get a library http://curl.haxx.se/libcurl/
    Read the intro thread
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Try the WinINet library.

  4. #4
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    link to wininet.lib and include wininet.h then use the Internet**** and Http**** functions. Quick simple and relatively painless once you figure them out.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21