Thread: HTTP GET and POST REQUEST

  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 int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    35,569
    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.

  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,195
    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.

Popular pages Recent additions subscribe to a feed