Tools
HTTPie
Inspect and send HTTP requests with readable CLI syntax.
Requests
http GET https://example.comSend a GET requesthttp POST https://example.com/api name=AdaSend a JSON string fieldhttp POST https://example.com/api count:=3Send a typed JSON numberhttp PATCH https://example.com/api/1 active:=trueSend a JSON booleanHeaders and authentication
http https://example.com Accept:application/jsonSet a request headerhttp https://example.com Authorization:'Bearer TOKEN'Authenticate; avoid real tokens in shared shell historyhttp --auth user https://example.comPrompt for a basic-auth passwordhttp --headers https://example.comShow response headersInspect safely
http --offline POST https://example.com/api name=AdaPreview a request without sending ithttp --follow https://example.comFollow redirectshttp --timeout=10 https://example.comBound network waiting timehttp --download https://example.com/file.pdfDownload a response to a file