Relative Content

Tag Archive for c++curllibcurl

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 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