xh
CLIFriendly and fast HTTP tool, reimplementation of HTTPie.
Fast HTTPie-compatible HTTP client written in Rust
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
GET request
xh GET api.example.com/usersPOST JSON data
xh POST api.example.com/data key=valueRequest with auth header
xh GET api.example.com/me Authorization:'Bearer TOKEN'Install
Homebrew
brew install xhCargo
cargo install xhAgent notes
- When to use
- Testing APIs when you want httpie speed with Rust binary
- Quick examples
xh GET api.example.com/usersxh 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.