Live data from Hacker News

Hurl

hurl.r09.railsrumble.com

21–30 of 33 posts

Re: Hurl

#21
Very slick, but it really needs a JSON pretty printer in addition to the XML one. Most JSON services just send one huge line, which is exactly how Hurl displays it.

Re: Hurl

#22

Very slick, but it really needs a JSON pretty printer in addition to the XML one. Most JSON services just send one huge line, which is exactly how Hurl displays it.

Can you give me an example URL? Sounds like a bug.

We do pretty print JSON: http://hurl.me/ufsmb1

Re: Hurl

#24
Thanks for the comments everyone! The main idea here is that you can share Hurl URLs which others can modify and play with.

For example I can give you this URL: http://hurl.me/ufsmb1

And you can change 'json' to 'xml' to see what changes.

Hurl was inspired by sharing curl input and output over pastebins. We should probably make this more clear.

Re: Hurl

#25

A similar app, but as native OS X app (useful for localhost requests) http://ditchnet.org/httpclient/

HTTPClient is great and was a big influence on Hurl (for instance we auto-complete headers just like HTTPClient does).

Re: Hurl

#27
post #11

Very, very cool.. and I love the name. That said, I regularly test APIs using actual usernames and passwords via HTTP Basic Auth. It will be a cold day in hell before I toss my credentials in cleartext into a web form. :-) I really like the syntax-highlighted, pretty-printed JSON output, though. Really handy.

We plan to open source Hurl so you can run it somewhere if you want (for auth reasons).

Re: Hurl

#28
post #13
post #9

Earlier quoted context omitted.

Yes, perhaps you are. First, watch the video: http://vimeo.com/6238577 Second, realize that this was developed from start to finish in 48 hours, by some not untalented people... they seem to have put a lot of thought into it, and the details really show. Third, saying you could do anything nontrivial in "10 lines of code" reminds me of this guy http://news.ycombinator.com/item?id=678501

First, watch the video? Doesn't that seem to emphasize the guy's point? It seems like a neat if simplistic little tool and if you have to watch a video to tell how it's something more...

Yeah, it does.

Sounds like we should change this:

  Hurl makes HTTP requests.
  Enter a URL, set some headers, then view the response.
  Perfect for APIs.
To something like this:

  Hurl makes HTTP requests.
  Enter a URL, set some headers, get a response, then share it with others.
  Perfect for demoing and debugging APIs.

Re: Hurl

#29
post #25

A similar app, but as native OS X app (useful for localhost requests) http://ditchnet.org/httpclient/

HTTPClient is great and was a big influence on Hurl (for instance we auto-complete headers just like HTTPClient does).

I can't seem to get Hurl to send application/json content. Any ideas?

A few minutes later: everything seems to give the error:

Cannot allocate memory - fork(2)

Re: Hurl

#30
post #29
post #25

Earlier quoted context omitted.

HTTPClient is great and was a big influence on Hurl (for instance we auto-complete headers just like HTTPClient does).

I can't seem to get Hurl to send application/json content. Any ideas? A few minutes later: everything seems to give the error: Cannot allocate memory - fork(2)

Yeah you guys crashed it :P

I'm workin' on bringing it back up.

Post reply on HN