Friendly and fast tool for sending HTTP requests
open sourceMITself-hostablefree
xh reimplements as much of HTTPie's design as possible as a single fast Rust binary. It uses the same request syntax for headers, JSON fields and query parameters, with colorized output, and starts much faster than a Python-based client.
Ways to install
Package managers
Problems it solves
- HTTPie is slow to start because of Python
- want a single static binary HTTP client I can drop on a server
- send JSON to an API with short syntax instead of curl -H -d
- pretty-print API responses in the terminal
- HTTP client for scripts that starts instantly
- test API endpoints from the terminal without installing Python
- download files with progress from the command line
- resume an interrupted download from the terminal
Features
- HTTPie-compatible syntax
- fast startup
- single binary
- colorized output
- sessions
- downloads
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what xh does.
- HTTPie CLI Modern, user-friendly command-line HTTP client for the API era
- curl command line tool and library for transferring data with URLs
- Hurl Run and test HTTP requests with plain text.
