How to handle response from webserver in libcurl

Posted by sfactor on Stack Overflow See other posts from Stack Overflow or by sfactor
Published on 2010-04-22T08:32:30Z Indexed on 2010/04/22 8:33 UTC
Read the original article Hit count: 363

Filed under:
|
|
|
|

i have to login webserver via libcurl. so i send a HTTP POST form with the login credentials. it responds to me with some response (a SUCCESS or FAILURE string). i need to handle this in my code. can someone tell me how do i capture this response in libcurl.

© Stack Overflow or respective owner

How to handle response from webserver in libcurl

Posted by sfactor on Stack Overflow See other posts from Stack Overflow or by sfactor
Published on 2010-04-22T02:12:48Z Indexed on 2010/04/22 2:23 UTC
Read the original article Hit count: 363

Filed under:
|
|
|

i have to send a file to a webserver via libcurl. so i send a HTTP POST form with the file and login credentials. it responds to me with some response (can be anything like HTML code or a SUCCESS or FAILURE string). i need to handle this in my code. can someone tell me how do i capture this response in libcurl.

© Stack Overflow or respective owner

Related posts about gcc

Related posts about c