On 4/23/21 5:02 PM, Milen Nikolov via curl-library wrote:
the curl function (CURLOPT_POSTFIELDS) takes as argument a c-string. In my string there are also NUL characters, which have to be sent. When I try sending the request the body is truncated at the first NUL chararcter.

Did you try https://curl.se/libcurl/c/CURLOPT_POSTFIELDSIZE.html ?

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

Reply via email to