If you are involved in application development one of the things you will definitely spend time on is interacting with APIs. If you've previously used tools like cURL or Wget then in this article you'll learn about a new tool like HTTPie.

HTTPie

What is HTTPie?

HTTPie is a command-line HTTP client. Its purpose is to make CLI interaction with web services as human-friendly as possible. HTTPie is designed for testing, debugging and generally interacting with HTTP APIs and servers.

 

Are you looking for a contractor working with HTTPie ?
logo

Capabilities of HTTPie

HTTPie uses a simple and natural syntax and provides formatted and colored data output. HTTPie's main features are:

  • Expressive and intuitive syntax
  • Formatted and colored terminal exit
  • Built-in JSON support
  • Transfer of forms and files
  • HTTPS, proxy and authentication
  • Any request data
  • Custom headers
  • Persistent sessions
  • Wget-style downloading
  • Linux, macOS, Windows and FreeBSD support
  • Plugins
  • Documentation
  • Test coverage

 

Installing HTTPie

If you are doing the installation on a macOs system you will need a software package management system like brew installed, while if you are using Windows systems you will need the Chocolatey package manager. In will present the installation on macOs system, if you are working on another system take a look at the HTTPie documentation.

 

To install HTTPie, type the following commands in a terminal:

brew update
brew install httpie

HTTPieHTTPieHTTPie

Our offer

Web development

Find out more

Mobile development

Find out more

E-commerce

Find out more

UX/UI Design

Find out more

Outsourcing

Find out more

Related articles

Show all articles