Features
- Expressive and intuitive syntax
- Formatted and colorized terminal output
- Built-in JSON support
- Forms and file uploads
- HTTPS, proxies, and authentication
- Arbitrary request data
- Custom headers
- Persistent sessions
- Wget-like downloads
- Python 2.6, 2.7 and 3.x support
- Linux, Mac OS X and Windows support
- Plugins
- Documentation
- Test coverage
Install HTTPie
Universal Installation
# Make sure we have an up-to-date version of pip and setuptools:
$ pip install --upgrade pip setuptools
$ pip install --upgrade httpie
Install on Debian Based Linux Distribution such as Debian/Ubuntu
$ sudo apt-get install httpie
Install on RPM Based Distribution such as REDHAT/CentOS
$ yum install httpie
Examples of HTTPie
$ http -a USERNAME POST https://api.github.com/repos/jkbrzt/httpie/issues/83/comments body='HTTPie is awesome!'
$ http example.org < file.json
$ http example.org/file > file
# wget style
$ http --download example.org/file
Post Navigation
How to Setup SmartPhone Test Farm (STF) How to Record Terminal Sessions
comments powered by