http
HTTPie: HTTP client, aims to be easier to use than cURL. More information: <https://httpie.org>.
Install
- All systems
-
curl cmd.cat/http.sh
- Debian
-
apt-get install httpie - Ubuntu
-
apt-get install httpie -
Alpine
-
apk add httpie - Arch Linux
-
pacman -S httpie - Kali Linux
-
apt-get install httpie - Fedora
-
dnf install httpie - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install httpie - OS X
-
brew install httpie - Raspbian
-
apt-get install httpie - Docker
-
docker run cmd.cat/http httppowered by Commando
HTTPie: HTTP client, aims to be easier to use than cURL. More information: <https://httpie.org>.
-
Download a URL to a file:
http --download example.org -
Send form-encoded data:
http --form example.org name='bob' profile_picture@'bob.png' -
Send JSON object:
http example.org name='bob' -
Specify an HTTP method:
http HEAD example.org -
Include an extra header:
http example.org X-MyHeader:123 -
Pass a username and password for server authentication:
http --auth username:password example.org -
Specify raw request body via `stdin`:
cat data.txt | http PUT example.org
© tl;dr; authors and contributors