http
HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers. tldr-pages
On several platforms
Several platforms
Make a simple GET request (shows response headers and content)
http https://example.comIdentifyPrint specific parts of the content (H: request headers, B: request body, h: response headers, b: response body, m: response metadata)
http --print H https://example.comIdentifySpecify the HTTP method when sending a request and use a proxy to intercept the request
http GET --proxy http:http://localhost:8080 https://example.comIdentifyFollow any 3xx redirects and specify additional headers in a request
http --follow https://example.com 'User-Agent: Mozilla/5.0' 'Accept-Encoding: gzip'IdentifyAuthenticate to a server using different authentication methods
http --auth username:password --auth-type basic GET https://example.com/authIdentifySimulate sending a request without actually sending it
http --offline GET https://example.comIdentifyUse named sessions for persistent custom headers, auth credentials, and cookies
http --session session_name --auth username:password https://example.com/auth API-KEY:xxxIdentifyUpload a file to a form (the example below assumes that the form field is <input type="file" name="cv" />)
http --form POST https://example.com/upload cv@path/to/fileIdentify