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.
This version of httpie includes unix socket support, and in
particular support for snapd:// URLs for ease of interaction with
the snapd REST API.
For versions of Ubuntu between 14.04 LTS (Trusty Tahr) and 15.10 (Wily Werewolf), as well as Ubuntu flavours that don’t include snap by default, snap can be installed from the Ubuntu Software Centre by searching for snapd.
Alternatively, snapd can be installed from the command line:
sudo apt update
sudo apt install snapd
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install HTTPie, simply use the following command: