HTTPie command-line HTTP client – Install HTTPie on Ubuntu

HTTPie is a free and open source modern command-line HTTP client for Linux, MacOS and Windows. You can use this tool to test and debugging the APIs, HTTP servers, and web services. It comes with JSON, HTTPS, proxies, and authentication support. Some other important feature are syntax highlighting, persistent sessions and extensions support. You can also do Forms and file uploads and Wget like file downloads. It is based on python and released under BSD 3-Clause License.

Install HTTPie on Ubuntu

You can install HTTPie via your terminal application. Open your terminal app (ctrl+alt+t) run below commands one by one.

sudo apt update

Enter your Ubuntu user password i needed.

sudo apt install httpie

You can verify the installation by below command

http --version

You can also install it via pip. If you don’t have pip on your system, then follow below link.

Also Read:  Notes Up Markdown Notes Editor and Manager

How to install pip on Ubuntu

sudo pip install --upgrade pip setuptools
sudo pip install --upgrade httpie

Request URL using HTTPie

http connectwww.com

httpie url

Download file using HTTPie

http --download https://downloads.vivaldi.com/stable/vivaldi-stable_3.4.2066.106-1_amd64.deb

For the complete usage details run this command.

http -h
If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on Twitter and Facebook.



Leave a Reply