{"id":61272,"library":"restclient-cpp","title":"restclient-cpp","description":"Simple REST client for C++. It wraps libcurl for HTTP requests.","status":"active","version":"2024-01-09","language":"cpp","source_language":null,"source_url":null,"tags":["http","rest","client","curl"],"install":[{"cmd":"vcpkg install restclient-cpp","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(restclient_cpp CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE restclient-cpp::restclient-cpp)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"restclient-cpp/restclient.h","correct":"#include <restclient-cpp/restclient.h>"}],"quickstart":{"code":"#include <restclient-cpp/restclient.h>\n#include <iostream>\nint main() {\n    RestClient::Response r = RestClient::get(\"https://api.example.com/data\");\n    std::cout << \"Status: \" << r.code << \"\\nBody: \" << r.body << std::endl;\n    return 0;\n}","lang":"cpp","description":"Perform a GET request and print response"},"warnings":[{"fix":"Ensure libcurl and OpenSSL development packages are available.","message":"Requires libcurl and OpenSSL to be installed.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'c':8 'client':6,17 'cpp':3 'curl':18 'http':13,15 'libcurl':11 'request':14 'rest':5,16 'restclient':2 'restclient-cpp':1 'simpl':4 'wrap':10","created_at":"2026-06-17T04:44:13.441423+00:00","updated_at":"2026-06-17T04:44:13.441423+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}