Live data from Hacker News

HTTPie is a command line HTTP client, a user-friendly cURL replacement

httpie.org

61–70 of 79 posts

Re: HTTPie is a command line HTTP client, a user-friendly cURL replacement

#61
post #24

Earlier quoted context omitted.

I've got a couple other utils I'd add to a list like this: - kitty (ssh client, fork of putty) - visualwget (wget gui) - dsynchronize (dir sync)

Another great SSH client is SmarTTY.

I'm partial to PuTTYTray.

Re: HTTPie is a command line HTTP client, a user-friendly cURL replacement

#62

Earlier quoted context omitted.

Isn't the HTTpie command simpler because it uses defaults for the content type and charset? If Curl did the same (not sure why it should because not everything is JSON/UTF-8), the command would be about as short as the HTTPie one.

This is probably different for different people, but I find myself constantly looking up the right flag for controlling a part of a request with curl even though I use it a lot. Having the command line be smarter about interpreting which argument is which seems like a productivity gain to me.

[deleted]

Re: HTTPie is a command line HTTP client, a user-friendly cURL replacement

#64
post #33

This is one of the little known gems I recommend often. the readability difference is just amazing for me. On that note for those of us having to use Windows at the workplace there are a few things that make life easier: 1) Chocolatey (package manager) 2) HTTPie 3) ConEmu (Shell) 4) gow (Unix command line utilities in Windows) 5) WinMerge (win diff) 6) TortiseSVN 7) SourceTree (git) Makes day to day stuff much smooth…

I have moved away from windows and miss Fiddler the most. It's ability to record, filter, edit and replay requests made debugging a breeze.

They seem to have Fiddler for Mac and Linux now (alpha version) http://fiddler.wikidot.com/mono

Re: HTTPie is a command line HTTP client, a user-friendly cURL replacement

#67
post #65

Is there any chance get this into Homebrew for an easier installation on Mac?

I just installed it on my mac by doing $ sudo pip install httpie It was not too tricky

Sure, but i dislike installing other tools like pip just for a single tool.

Re: HTTPie is a command line HTTP client, a user-friendly cURL replacement

#68

This is one of the little known gems I recommend often. the readability difference is just amazing for me. On that note for those of us having to use Windows at the workplace there are a few things that make life easier: 1) Chocolatey (package manager) 2) HTTPie 3) ConEmu (Shell) 4) gow (Unix command line utilities in Windows) 5) WinMerge (win diff) 6) TortiseSVN 7) SourceTree (git) Makes day to day stuff much smooth…

You don't need gow if you are using msysgit right?

Re: HTTPie is a command line HTTP client, a user-friendly cURL replacement

#69
post #14
post #4

I'd just wrap a simple program around curl to improve its argument passing complexity if that's your pain point but I wouldn't go on rewriting an HTTP client. Curl is a very mature code base by now and that's something to appreciate. It handles all the edge cases well and has dealt with all the mess that you'll discover over time.

Httpie doesn't come close to Curl in terms of features. Its selling points are colourised output (using pygments) and (slightly) better json formatting. Here's an unobstructed side by side comparison for the same request: http://i.imgur.com/Bj2wRkq.png While it won't replace Curl, it can prove quite useful while testing APIs.

The user agent is truncated in HTTPie.

Re: HTTPie is a command line HTTP client, a user-friendly cURL replacement

#70
post #65

Earlier quoted context omitted.

I just installed it on my mac by doing $ sudo pip install httpie It was not too tricky

Sure, but i dislike installing other tools like pip just for a single tool.

As a python dev, I use pip all the time. My first thought was, "nice, just use pip." I appreciate your comment because it helps remind me that people approach problems from different frames of mind.
Post reply on HN