On Thu, 9 Jun 2022, J via curl-library wrote:

I'm struggling to understand what the issue might be, but I'm getting this
error:

From the documentation for CURLOPT_POSTFIELDS:

The data pointed to is NOT copied by the library: as a consequence, it must be preserved by the calling application until the associated transfer finishes. This behavior can be changed (so libcurl does copy the data) by setting the CURLOPT_COPYPOSTFIELDS option.

Give that a try...

m

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

Reply via email to