httpie

CLI>=3.0

Modern, user-friendly command-line HTTP client for the API era.

Friendlier curl for REST APIs with JSON formatting

3 curated recipes · not yet executed by the harness#http#api#rest#curl

Recipes

Curated from documentation and usage. Percentages are estimates, not measurements.

GET request with JSON response

~98% est.
http GET api.example.com/users

POST JSON data

~95% est.
http POST api.example.com/data key=value nested:='{"a":1}'

Request with auth header

~97% est.
http GET api.example.com/me Authorization:'Bearer TOKEN'

Install

Homebrewbrew install httpie
pippip install httpie

Agent notes

When to use
Testing REST APIs, sending HTTP requests with readable output
Quick examples
  • http GET api.example.com/users
  • http POST api.example.com/data key=val

Use from an agent

curl -s https://clihub.com/api/tools/httpie | jq '.agentHints.provenRecipes[] | {task, command, verified}'

Or call get_tool with slug httpie on the MCP server at https://clihub.com/mcp.

Homepage ↗Repository ↗BSD-3-Clause0 views