5 ms·
This is seriously news? I could write this app in 10 lines of code, or am I missing something important?
by maelstrom 17y ago
This is seriously news? I could write this app in 10 lines of code, or am I missing something important?
- deleted 17y ago[deleted]
- texel 17y agoYes, perhaps you are. First, watch the video: http://vimeo.com/6238577 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 http://news.ycombinator.com/item?id=678501
- maelstrom 17y agoSorry, making an http request and showing the response in headers qualifies as trivial in most modern programming languages.
- pvg 17y agoFirst, 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...
- defunkt 17y agoYeah, 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.
- mikeytown2 17y agoLess then 250 lines of code: http://api.drupal.org/api/function/drupal_http_request/7 http://api.drupal.org/api/function/drupal_http_request/7
- tjogin 17y agoI think you meant that you can reproduce a fraction of this app's functionality, and present it in an unattractive way with really bad useability, in ten lines of code. And even then you'd be exaggerating.
- brown9-2 17y agothe ability to link to the responses / output seems like it might be useful for debugging and helping others