restclient-cpp icon indicating copy to clipboard operation
restclient-cpp copied to clipboard

C++ client for making HTTP/REST requests

Results 34 restclient-cpp issues
Sort by recently updated
recently updated
newest added

### Expected behaviour I was experiencing some issues authenticating with the Reddit API using this client, so I tried to isolate the problem in a blank C++ file, and I...

DELETE http method may contain a body. It would be good to support it. I am up for making the change if someone gives me the ok.

There should be a way to set SSL context callback function ([CURLOPT_SSL_CTX_FUNCTION](https://curl.se/libcurl/c/CURLOPT_SSL_CTX_FUNCTION.html)). Personally, I needed to call SSL_CTX_set_default_verify_paths inside this callback, but it could be useful to others as well....

In my program I need to do periodical get and post requests on different threads. At the beginning of my main I call RestClient::init(), then when I need to send...

### Expected behaviour A request to a insecure (HTTP) web server returns a response when the connection is proxied. ### Actual behaviour A request to a insecure (HTTP) web server...

``` void RegisterUser(std::string username, std::string password) { RestClient::init(); std::unique_ptr conn = std::make_unique(GetRegistrationURL()); conn->SetBasicAuth(username, password); conn->SetTimeout(5); conn->SetUserAgent("game"); conn->AppendHeader("Content-Type", "application/json"); nlohmann::json json_data; json_data["username"] = username; json_data["password"] = password; RestClient::Response resp = conn->post("",...

**Command** ``` bash $ make ``` **Environment** ``` OSX Yosemite 10.10.2 GNU Make 3.81 gxx version 6.1.0 ``` **Error** ``` Undefined symbols for architecture x86_64: "RestClient::post(std::__1::basic_string const&, std::__1::basic_string const&, std::__1::basic_string...

help wanted
build issues

If it's not `application/json`, some servers will not parse it properly into json (as in my case, the nodejs express.json() middleware) ## Checklist Not all of these might apply to...

Hi, Thanks for this handy library! I've already found a fix for this issue, but would prefer not to have to fork the project. If I can be allowed to...

I compiled the project using vs2010 in Windows environment >..\source\connection.cc(395): error C2065: "CURLOPT_UNIX_SOCKET_PATH" : undeclared identifier How can I modify it so that it will compile on Windows vs2010? Or...

help wanted
windows