xh
Friendly, fast HTTP client for the terminal. Send requests with colorized output, built-in JSON support, and HTTPie compatibility.
50 commands
Browse by Topic
Install xh (macOS)
Install xh HTTP client using Homebrew on macOS
Install xh (Linux)
Install xh HTTP client using apt on Debian/Ubuntu
Check xh version
Verify xh is installed and display the current version
Basic Auth
Use Basic Authentication.
Bearer token
Use Bearer token.
Authorization header
Set Authorization header.
Digest Auth
Use HTTP Digest Authentication.
Netrc auth
Read credentials from .netrc file.
Prompt for password
Prompt for password interactively.
Headers only
Show only response headers.
Body only
Show only response body.
Verbose
Show request and response.
Download file
Download a file.
Print parts
Print headers and body.
No colors
Output without colors.
JSON output mode
Force JSON content type for the request.
Pretty print
Pretty-print both headers and body.
Monokai theme
Use monokai color theme for output.
Check status for scripting
Exit with error code on 4xx/5xx responses.
Save output to file
Write response body to a file.
Resume download
Resume a partially completed download.
Print request only
Print request headers (H) and body (B) only.
Create session
Create a named session.
Use session
Use existing session.
Read-only session
Use session without saving.
Anonymous session
Use a file path for an anonymous session.
Session with auth
Store credentials in a named session.
Skip TLS verification
Disable TLS certificate verification.
Client certificate
Use a client TLS certificate for mutual TLS.
Use proxy
Route requests through an HTTP proxy.
Set timeout
Set request timeout in seconds.
Force HTTP/2
Use HTTP/2 for the request.
Default scheme shorthand
Shorthand for http://localhost:3000.
Discussion
Loading comments...