HTTPie (pronounced aitch-tee-tee-pie) is a command line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests using a simple and natural syntax, and displays colorized output. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.
What I like most about HTTPie:
- Colorized and nicely formatted terminal output
- Native JSON support
- Persistent sessions handling (JSON based)
- Support for many Auth methods, extendable via plugins
And with the
--session=~/session.json switch, the session information is saved (reusable) in the JSON format.
And best of all: The installation is very easy! I used Homebrew on my Mac and Yum on my (Centos) Linux.