Description
restclient-cpp is a simple REST client library for C++ that wraps libcurl for HTTP requests. It offers two ways of working. The simple API has static methods modelled on the common HTTP verbs, such as get, post, put, del and head, and each returns a response with the status code, body and headers. The advanced API uses a configurable connection object for more control, including connection reuse, timeouts and authentication. The README points out that the simple API has few configuration options, so if you need more than a plain call, use the advanced one. Other sections cover thread safety, HTTPS user certificates, dependencies on libcurl, and installation, and there is a contribution guide. The project is hosted on the author's own site, and the code is also on GitHub. It is a small, focused library for C++ programs that call REST APIs.…
Highlights
- C++ wrapper around libcurl for HTTP requests
- Simple get, post, put, del and head calls
- Advanced connections with reuse, timeouts and auth
- HTTPS user certificate support
Ratings & Reviews
No ratings yet
Be the first to rate Restclient CPP.
People also visit
DalSoft.RestClient
The C# REST Client - the only REST/ HTTP Client you will ever need
Restclient CPP FAQ
What is restclient-cpp?
A simple REST client for C++ that wraps libcurl.
What is the simple API?
Static methods such as get, post, put, del and head, which return the response code, body and headers.
When should I use the advanced API?
When you need connection reuse, timeouts, authentication or other configuration, according to the README.
What does it depend on?
libcurl. The README has an installation section that covers building the library.
What are the best Restclient CPP alternatives?
Popular alternatives to Restclient CPP include Httpful, Crest and Tiny.RestClient. See all Restclient CPP alternatives
