xh

CLI

Friendly and fast HTTP tool, reimplementation of HTTPie.

Fast HTTPie-compatible HTTP client written in Rust

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

Recipes

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

GET request

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

POST JSON data

~97% est.
xh POST api.example.com/data key=value

Request with auth header

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

Install

Homebrewbrew install xh
Cargocargo install xh

Agent notes

When to use
Testing APIs when you want httpie speed with Rust binary
Quick examples
  • xh GET api.example.com/users
  • xh POST api.example.com/data key=val

Use from an agent

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

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

Homepage ↗MIT0 views