79090176

Date: 2024-10-15 13:34:12
Score: 0.5
Natty:
Report link

I think the problem is that this line

curl_easy_setopt(curl, CURLOPT_POSTFIELDS, data);

must be changed to

curl_easy_setopt(curl, CURLOPT_POSTFIELDS, json_string);

And don't forget to release the allocated data. Good luck!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user3811082