Closed tomchristie closed 9 years ago
However, it's more likely to have curl installed on the system.
True, pip install httpie
is pretty easy, but fair point.
Let's treat this as "for consideration" rather than a given.
httpie also has a package for Debian/Ubuntu.
Right, I'm fine with httpie given DRF is a python project as well and provided we give some direction about installing it - in particular for windows. Having it package for Debian/Ubuntu is a good thing but there are a lot of other distributions and OS out there.
It's also packaged for Fedora but not CentOS.
I've worked on this today for the 24pullrequests, in case you want to merge it later on after a decision is made.
Httpie has replaced all the examples in:
The Quickstart and tutorial sections also help users install it, and give reasons why they should use it.
I decided not to replace the curl
examples on the authentication pages. This is because httpie only supports basic and digest authentication unless you install extra things, which would just take too much time for the user and detract from the purpose of the documentation.
See PR #2165
Don't know what you decide for the tutorial, but thanks to this issue I discovered the awesome httpie
package for myself :)
Nicer and more usable than curl.
https://github.com/jakubroztocil/httpie