# mrtazz/restclient-cpp

C++ client for making HTTP/REST requests

Repository: https://github.com/mrtazz/restclient-cpp
Canonical: https://ross.abutalabs.com/products/restclient-cpp
Homepage: http://code.mrtazz.com/restclient-cpp/
Language: C++
License: MIT
License Family: permissive
Topics: restclient, libcurl, packagecloud, c-plus-plus, rest, rest-client, http, http-client
Last push: 2025-01-03T11:02:58+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5798, "days_push": 607, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1613, forks 376 (observed 2026-08-28T04:05:11.227751+00:00)

## What it is
A simple C++ REST client library that wraps libcurl for making HTTP requests. It offers both a static-method API for quick calls and a configurable Connection object for advanced features like connection reuse, timeouts, and authentication.

## Use cases
- make http requests from c++
- call rest api in c++
- c++ http client library wrapping libcurl
- send post and put requests with json from c++
- configure timeouts and basic auth for http calls in c++
- reuse connections for rest calls in c++

## When to choose
- you need a lightweight C++ wrapper around libcurl for REST calls
- you want a simple static API for common HTTP verbs without configuration
- you need configurable options like timeouts, redirects, and basic auth
- you want connection reuse for repeated requests to the same endpoint

## When to avoid
- you need async or non-blocking HTTP requests
- you need advanced features like HTTP/2, streaming, or multipart uploads
- you prefer a full-featured client like libcurl directly or a higher-level framework
- your project does not use C++ or cannot link against libcurl

## Facets
- artifact type: library
- maturity: active
- function: http-client, api-framework
- domain: web-development, apis, developer-tools
- platform: cpp, windows, cross-platform
- tags: rest, libcurl, http-requests, rest-client, c-plus-plus, linux, macos

## Member repositories
- mrtazz/restclient-cpp (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:11.227751+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:51:07.048443+00:00, confidence not recorded.
  - readme: https://github.com/mrtazz/restclient-cpp (fetched 2026-08-28T04:05:11.227751+00:00, sha d20077c81ba1)
  - homepage: http://code.mrtazz.com/restclient-cpp/ (fetched 2026-08-29T11:22:51.351582+00:00, sha b463a108b33a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
