The Wayback Machine - https://web.archive.org/web/20200610032150/https://github.com/topics/libcurl
Skip to content
#

libcurl

Here are 154 public repositories matching this topic...

WesThorburn
WesThorburn commented Mar 12, 2018

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.

jherrera123
jherrera123 commented Sep 14, 2017

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

Improve this page

Add a description, image, and links to the libcurl topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the libcurl topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.