httpie
CLI>=3.0Modern, user-friendly command-line HTTP client for the API era.
Friendlier curl for REST APIs with JSON formatting
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
GET request with JSON response
http GET api.example.com/usersPOST JSON data
http POST api.example.com/data key=value nested:='{"a":1}'Request with auth header
http GET api.example.com/me Authorization:'Bearer TOKEN'Install
Homebrew
brew install httpiepip
pip install httpieAgent notes
- When to use
- Testing REST APIs, sending HTTP requests with readable output
- Quick examples
http GET api.example.com/usershttp 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.