Reputation: 3731
To see what's wrong I need to print request made by curl. How can I do that? Please do not advise doing
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
I'm posting multipart message and it does not print the whole request.
Upvotes: 5
Views: 10832
Reputation: 58034
CURLOPT_DEBUGFUNCTION is your friend.
See these examples: debug.c and multi-debugcallback.c
Upvotes: 9