libcurl POSTFIELDS and POST body
Hello,
I need to create http POST request with POSTFIELDS and body. Something like
1 2
|
curl_easy_setopt(handle, CURLOPT_POSTFIELDS, arg);
curl_easy_setopt(curl_handle, CURLOPT_READFUNCTION, read_data);
|
but as I have read here
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTPOSTFIELDS
it looks it's not possible. Is there another way to achieve this?
Topic archived. No new replies allowed.