libcurl
Here are 154 public repositories matching this topic...
Sample Code:
auto r = cpr::Get(cpr::Url{ "https://youtube.com" },cpr::VerifySsl(false));
std::cout << r.url << std::endl;
std::cout << r.status_code << std::endl; // 200
std::cout << r.text << std::endl;
Output:
https://youtube.com/
0
The above output is identical even if spr::VerifySsl(false) is removed. Request works fine if using HTTP.
I'm running Ubuntu 16.
What is the functional equivalent of:
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
curl_easy_setopt(curl, CURLOPT_SSL_CIPHER_LIST, "TLSv1");
ret = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
using RestClient-cpp?
See: [CURLOPT_SSL_CIPHER_LIST](https://curl.haxx.se/libcurl/c/CURLOPT_SSL_CIPHER_LIST.html
Examples and guide use Cleanup class, but Cleanup class comments say it is deprecated and not to use it. This causes confusion on how to use this library.
/**
* \depreciated This is an obsolete class. DO NOT use it.
*
* The only reason it's still here,
* is to be sure that it is backward compatible. This class was taking care of
* initialization and cleaning up curlpp (also libcURL
-
Updated
Jun 4, 2020 - Perl
-
Updated
Jun 4, 2020 - C
I tried to add a c-module to my project but the documentation https://micropython-dev-docs.readthedocs.io/en/latest/adding-module.html does not fit.
I am still hanging on the very first step, adding a module (like esp32/mymodule.c)
If I add it to the components.mk in MicroPython_BUILD/components/ the build script will tell me *** No rule to make target
There is still no code in mymodule
-
Updated
Jun 3, 2020 - C++
-
Updated
Jun 8, 2020 - C
-
Updated
Feb 6, 2020 - C
There should 0 new lint errors after migration
-
Updated
May 13, 2020 - C
-
Updated
Jul 31, 2019 - C
-
Updated
Jun 9, 2020 - Python
-
Updated
May 2, 2017 - C#
-
Updated
Feb 24, 2020 - Shell
-
Updated
Apr 4, 2020 - Erlang
-
Updated
Sep 26, 2019 - Python
-
Updated
Jun 7, 2020 - C
-
Updated
Jun 4, 2020 - C++
-
Updated
Oct 17, 2019 - C++
curl := CurlGet;
curl.SetUrl('https://empacser.now.sh/api/sync_proxy')
.SetCustomHeaders(
CurlGetSlist
.AddRaw('Content-type: application/json')
.AddRaw('Accept: */*')
)
.SetProxyFromIe
.SetOpt(CURLOPT_POST, true)
.SetOpt(CURLOPT_POSTFIELDS, TEncoding.UTF8.GetBytes('{"xyz": 10}'))
.SetCaFile('curl-ca-bundle.crt')
.SetU-
Updated
Jan 20, 2020 - C++
-
Updated
Oct 18, 2018 - C++
Build Documentation
I'm trying to build the latest version of your CurlThin library for a project I'm maintaining. Could you give me an example of a build command using build.py or explain the steps you use to build the project?
Thanks.
Improve this page
Add a description, image, and links to the libcurl topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the libcurl topic, visit your repo's landing page and select "manage topics."


I want to use the SFTP protocol to create folders on the remote SFTP server, without specifying the curl option. The option created on the FTP protocol is "CURLOPT_FTP_CREATE_MISSING_DIRS".
Do you have any corresponding SFTP options?
Thanks for any help.