cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and i...

Results 217 cpprestsdk issues
Sort by recently updated
recently updated
newest added

I'm trying to make a POST request to the Graphhopper API(https://graphhopper.com) using the code below but the response given is 404. When I use curl to make the request using...

Is the listener supposed to be able to handle https requests? When I try a basic test using curl to connect to the http listener sample I get this: curl...

File `Release/src/pch/stdafx.h` contains following headers: ``` #include "boost/thread/condition_variable.hpp" #include "boost/thread/mutex.hpp" ``` which are not used. Instead of them `std::thread` and `std::condition_variable` are used all over the code (at least I...

Does cpprestsdk support unix domain socket like "/var/run/docker.sock" curl support like this: $ curl **--unix-socket** /var/run/docker.sock http:/v1.24/containers/json

I'm having some trouble setting a close handler when using the websocket_callback_client. The minimal reproducing example below runs fine on windows but segfaults on Linux (CentOS7). I'm using the following...

I initially thought Postman was messing with me, however Chrome shows the same so here goes :-) ``` req.reply(web::http::status_codes::OK, ""); ``` results in a duplicate header as seen here: ![image](https://user-images.githubusercontent.com/12495700/133401467-91c074ae-ced5-4882-85f0-cb7a77ec5995.png)...

Hi, I've noticed that in Linux this code is perfectly valid and work as expected: ``` web::http::client::http_client client(web::uri(U("http://www.bing.com"))); web::uri_builder builder; std::promise p; auto val = client.request( builder.to_string() ) .then( [p...

> ../../../libcpprest.a(web_utilities.cpp.o): In function > `_GLOBAL__sub_I__ZNK3web7details19zero_memory_deleterclEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE': > web_utilities.cpp:(.text.startup+0x10): undefined reference to `boost::system::generic_category()' > web_utilities.cpp:(.text.startup+0x15): undefined reference to `boost::system::generic_category()' > web_utilities.cpp:(.text.startup+0x1a): undefined reference to `boost::system::system_category()' > web_utilities.cpp:(.text.startup+0x43): undefined reference to `boost::system::system_category()'...

1. use below code to open large file like 6G, **fileStream.tell()** will get 0. file_stream::open_istream(fileToUpload size_t __cdecl _seekrdtoend_fsb auto newpos = SetFilePointer(fInfo->m_handle, (LONG)(offset * char_size), **nullptr**, FILE_END); if (newpos ==...