Re: Parsing the response from curl_easy_perform(curl)
Date: Fri, 23 Feb 2007 10:58:47 -0600
> My problem is i want to parse the string returned
> by the curl_easy_perform(curl).
curl_easy_perform doesn't return a string, it returns a CURLcode.
Check the documentation for curl_easy_setopt, in general:
CURLOPT_WRITEFUNCTION to capture the retrieved document.
CURLOPT_HEADERFUNCTION to capture the response headers.
CURLOPT_ERRORBUFFER to capture the libcurl error message.
CURLOPT_DEBUGFUNCTION to capture the libcurl verbose messages.
To save the complete document to a single buffer, have a look at
Received on 2007-02-23