Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by ovebepari on Tuesday May 10, 2022 @07:17PM
(#31333906)
It would take me something extraordinary to move away from curl
[ Parent
| on HN ]
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by blacksmith_tb on Tuesday May 10, 2022 @07:21PM
(#31333936)
Sure, if you've got muscle memory for all the flags (plus it lets you reason about all the other programs that pipe stuff to curl). I personally find myself using httpie [1] at least as much.
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by ratorx on Tuesday May 10, 2022 @08:30PM
(#31334437)
I think curlie is the middle ground and the best (IMO) in the space. A nicer CLI for interactive use and can use and output curl flags for scripting.
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by jicea on Wednesday May 11, 2022 @12:51AM
(#31335956)
As a maintainer, I feel obligated to mention Hurl [1], a tool for testing HTTP with plain text and curl. It’s a wrapper around libcurl, in a single binary, with syntactic sugar for asserts. You can use it also like curl to give you an HTTP output.
[1] https://hurl.dev
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by hassy on Wednesday May 11, 2022 @04:26AM
(#31337279)
I haven’t come across Hurl before. It looks cool!
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by chrismarlow9 on Tuesday May 10, 2022 @09:33PM
(#31334849)
The big win with curl is the growing adoption of "copy as curl" in browser dev tools as well as "example of API call in curl" for third party API documentation.
I don't think I could move to anything else for that reason alone.
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by hassy on Tuesday May 10, 2022 @07:22PM
(#31333945)
curl is amazing! I love curl. This is not meant to replace it completely. Probe just makes those most common use-cases friendlier, like looking at headers, or inspecting JSON retuned by an API with syntax highlighting, or querying without needing to reach for jq etc.
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by rgoulter on Tuesday May 10, 2022 @11:28PM
(#31335549)
In Emacs, I found the restclient plugin quite useful. https://github.com/pashky/restclient.el
I imagine other editors have similar plugins.
Re:Show HN: A Swiss army knife for testing HTTP from the ter...
by throwawayboise on Wednesday May 11, 2022 @12:24AM
(#31335832)
Awesome! This comment made reading this thread worthwhile.