On Thu, 14 Jul 2016, smruti kumari wrote:

1. Could you please suggest me the way I can get the message in application
?

Use the CURLOPT_WRITEFUNCTION [1] callback.

2. How can I get the response code in my application ?

Use curl_easy_getinfo() with CURLINFO_RESPONSE_CODE [2]

[1] = https://curl.haxx.se/libcurl/c/CURLOPT_WRITEFUNCTION.html
[2] = https://curl.haxx.se/libcurl/c/CURLINFO_RESPONSE_CODE.html

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html

Reply via email to