HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers. More information: https://httpie.io/docs/cli/usage.
http https://example.com
H
: request headers, B
: request body, h
: response headers, b
: response body, m
: response metadata):http --print H|B|h|b|m|Hh|Hhb|... https://example.com
http GET|POST|HEAD|PUT|PATCH|DELETE|... --proxy http|https:http://localhost:8080|socks5://localhost:9050|... https://example.com
3xx
redirects and specify additional headers in a request:http -F|--follow https://example.com 'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'
http --auth username:password|token --auth-type basic|digest|bearer GET|POST|... https://example.com/auth
http --offline GET|DELETE|... https://example.com
http --session session_name|path/to/session.json --auth username:password https://example.com/auth API-KEY:xxx
<input type="file" name="cv" />
):http --form POST https://example.com/upload cv@path/to/file