You are at the right place. With Casablanca, you can connect to HTTP servers, send HTTP requests and receive responses from any C++ application.
Most of the APIs return a task (an asynchronous operation), you can use the
method to wait for the task to finish and obtain the result of the task.
A simple example of how to send a HTTP GET request is:
pplx::task<web::http::http_response> resp = client.request(web::http::methods::GET, U("/foo.html"));
web::http::http_response response = resp.get();
Here, the http_client::request method returns a task. This task produces a result of type http_response upon successful completion.
Calling .get() on the task will wait for the request to be sent and the response to be received and returns the response.
We also have some How To guides that demonstrate how to send HTTP GET and PUT requests on
These samples demonstrate how to asynchronously send the request and process the response using continuations (task::then
Let me know if you have any other questions.