Loading curl config file through curl API
I’m using libcurl API in a C++11 application. Since curl has several options, I would like the application to be able to load all of the options from a configuration file. I saw that the command-line curl application can do this: https://everything.curl.dev/cmdline/configfile.html
Loading curl config file trough curl API
I’m using libcurl API into a custom c++11 application. Since curl has several options, I would like the application to be able to load all of the options from a configuration file. I saw that the command-line curl application can do this: https://everything.curl.dev/cmdline/configfile.html
How can I write equivalent libcurl code for a curl command with -d option and -X PUT option?
I’m tring to implement payhip Software License Keys usage API.
curl_easy_perform crashes occasionally at curl_multi_perform
My project uses multiple threads to execute the following logic block, and then it crashed. The crash occurred at the line:
CURLcode re_code = curl_easy_perform(curl);
The stack trace is as follows:
libcurl multi: removing completed transfer before checking for messages, will the message be still in the queue?
I have a situations where, using the multi-interface, I have a set of transfers, and at some point I would like to stop it, even if I’m not sure if the transfer has already completed or not. Imagine the following situation:
How to properly send data via POSTFIELDS using CURL?
How to properly send data via POSTFIELDS using CURL?
If you write the same code in Python, it will work and the site gives a response of 200, but in C++ it gives a response of 400. As I understand it, the problem is in postfields, although I could be wrong