httpie

httpie

TLDR

Send a GET request (default method with no request data)

>_ http [https://example.com]
copy

Send a POST request (default method with request data)

>_ http [https://example.com] [hello=World]
copy

Send a POST request with redirected input

>_ http [https://example.com] < [file.json]
copy

Send a PUT request with a given json body

>_ http PUT [https://example.com/todos/7] [hello=world]
copy

Send a DELETE request with a given request header

>_ http DELETE [https://example.com/todos/7] [API-Key:foo]
copy

Show the whole HTTP exchange (both request and response)

>_ http -v [https://example.com]
copy

Download a file

>_ http --download [https://example.com]
copy

Copied to clipboard
free 100$ digital ocean credit