News for hackers. Stuff that matters.
Re:Show HN: Hurl – Run and test HTTP requests by bhargav on Wednesday January 06, 2021 @10:01AM (#25658316)
I suggest adding an interactive mode!

Aside: I tried to go through the samples and was having trouble running them successfully.

Re:Show HN: Hurl – Run and test HTTP requests by jicea on Wednesday January 06, 2021 @10:09AM (#25658373)
Yes interactive mode is a must have.

For the sample, maybe this is not obvious but you have to write the sample in a text file:

$ vi test.hurl

  GET https://news.ycombinator.com
  HTTP/1.1 200
And then use this file with Hurl:

$ hurl test.hurl

Re:Show HN: Hurl – Run and test HTTP requests by bhargav on Wednesday January 06, 2021 @10:12AM (#25658406)
Yeah I saw the file option. I think it will be nifty when we have to do large request payloads, but ideally for example the sample, `echo GET http://httpbin.org/get | hurl` we could do something like: `hurl -i echo GET http://httpbin.org/get`. I understand its a bit subjective :)
Re:Show HN: Hurl – Run and test HTTP requests by fabricereix on Wednesday January 06, 2021 @10:21AM (#25658472)
We are planning the possibility to stop between requests with an inspection mode. We would also love an ncurse interface, like mitmproxy.