Registry / http-client / restclient-cpp

restclient-cpp

JSON →
library2024-01-09vcpkgunverified

Simple REST client for C++. It wraps libcurl for HTTP requests.

vcpkg install restclient-cpp
INSTALL
IMPORT
SIG · RESTCLIENT-CPP
R
restclient-cpp
http-clientcppv2024-01-09
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

restclient-cpp/restclient.h
#include <restclient-cpp/restclient.h>

Perform a GET request and print response

#include <restclient-cpp/restclient.h> #include <iostream> int main() { RestClient::Response r = RestClient::get("https://api.example.com/data"); std::cout << "Status: " << r.code << "\nBody: " << r.body << std::endl; return 0; }
Debug
Known issues
gotchaRequires libcurl and OpenSSL to be installed.
fix
Ensure libcurl and OpenSSL development packages are available.
affects: *
Upgrade
Version history
2024-01-09latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources

No resource links recorded.

restclient-cpp — pip install restclient-cpp · libregistry