Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't really think curl is much harder, e.g.

curl -X PUT -d @data/test.json httpbin.org/put

It also has the advantage that it supports all the options you might ever need, for example http authentication and proxies are often useful.



It has the disadvantage that it's not at all obvious what it does unless I open up the man page.


HTTPie also supports proxies and HTTP auth (see --proxy and -a/--auth).


Doesn't support socks 4/5 proxies. :)

Requests and urllib3 have a long way to go to be complete competitors with cURL.

P.S. Good job nonetheless. Seems like a good idea to make a specialized HTTP CLI client for JSON/RESTful services.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: