Make HTTP Requests With xh
Send requests and read colored responses with terse syntax.
Run xh GET https://httpbin.org/get to fetch and pretty-print a JSON response.
01Command
Command
$ xh GET https://httpbin.org/get02What it does
xh is a Rust reimplementation of HTTPie that is fast to start and uses intuitive syntax such as xh POST url key=value. It colorizes headers, JSON and HTML, supports files and sessions, and can download with xh --download.
03Risk
!Warning: Response bodies may contain credentials or tokens; avoid logging them in shared CI output.
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Homebrew formula: xhEvidence: Friendly and fast tool for sending HTTP requests. Packages xh, a fast HTTP client inspired by HTTPie with a simpler syntax.
Last verified: 2026-09-22 · Category: Network