News for hackers. Stuff that matters.
Re:Uses for cURL by bentruyman on Friday November 09, 2012 @09:59AM (#4763035)
I would strongly suggest HTTPie for the majority of these tasks: https://github.com/jkbr/httpie
Re:Uses for cURL by the_mitsuhiko on Friday November 09, 2012 @10:44AM (#4763283)
And I will continue to pitch our curlish instead which does not replace curl but amends it: http://packages.python.org/curlish/

It just wraps curl and adds some nicer options, cookie handling, oauth and colorizing to it. Same command line you are already used to but with some extras that simplify live and make it more enjoyable.

Re:Uses for cURL by DanBC on Friday November 09, 2012 @10:04AM (#4763057)
May I ask why? What benefits does HTTPie have?
Re:Uses for cURL by bentruyman on Friday November 09, 2012 @10:14AM (#4763118)
The GitHub page does a good job of highlighting all of the benefits HTTPie has if you're already familiar with cURL. But for me it's the design of the interface with syntax highlighting being the sugar on top.

See: https://github.com/jkbr/httpie#interface-design , https://github.com/jkbr/httpie#redirected-input , https://github.com/jkbr/httpie#usage

Re:Uses for cURL by jwpeddle on Friday November 09, 2012 @10:12AM (#4763102)
I prefer HTTPie because after years of using curl, I still have to Google simple use cases. HTTPie has a very simple a intuitive api.
Re:Uses for cURL by MatthewPhillips on Friday November 09, 2012 @11:39AM (#4763540)
Apparently it's for humans.
Re:Uses for cURL by DEinspanjer on Friday November 09, 2012 @10:35AM (#4763236)
Thanks for this recommendation. I still value tips on using cURL because it is practically ubiquitous which is helpful when you are logged into some random server, but HTTPie definitely has a very common sense usage and I think it will be very useful as a testing tool for my local machine.
Re:Uses for cURL by skrebbel on Friday November 09, 2012 @12:54PM (#4763895)
Strongly agree. For Windows users like me, i recommend installing Python and Pip using Chocolatey Nuget and then doing a `pip install httpie` to avoid Windows Python dependency hell and still get httpie.
Re:Uses for cURL by kinleyd on Saturday November 10, 2012 @06:04AM (#4766456)
Here's a pitch for another nice one: http://echohttp.com/