News for hackers. Stuff that matters.
Re:Just Use Curl by hypeatei on Tuesday October 21, 2025 @09:11AM (#45655330)
There's also hurl: https://hurl.dev

You define all your requests in a plaintext format and can inject variables etc... plus the name is kinda funny.

Re:Just Use Curl by anotherhue on Tuesday October 21, 2025 @11:17AM (#45656896)
Emacs had something like this long ago (of course it did).

https://github.com/pashky/restclient.el

I also like httpie but they seem to have gone commercial.

Re:Just Use Curl by sointeresting on Tuesday October 21, 2025 @12:32PM (#45657831)
I use emacs restclient all the time. I have requests saved in my orgmode notes that I can run with a simple C-c C-c. It's great.
Re:Just Use Curl by 4b11b4 on Tuesday October 21, 2025 @02:42PM (#45659858)
You're using this as well?

https://github.com/alf/ob-restclient.el

Re:Just Use Curl by sointeresting on Tuesday October 21, 2025 @05:12PM (#45661771)
Ya I babel all sorts of things. I have sql queries saved in my notes for things like creating a user after I reset the project locally. Common rest queries. I create an orgmode heading for every ticket I pick up and often end up with rest and/or sql queries littered in the notes for testing and development and I can run them right from the notes and when I'm done with the ticket I can just copy/paste them into the pull request description to fill out the manual test steps for those reviewing.
Re:Just Use Curl by blueflow on Tuesday October 21, 2025 @09:15AM (#45655362)
Basically a shell script with a curl invocation in it, except you need to install extra software to execute it. Misses the point of the article.
Re:Just Use Curl by hypeatei on Tuesday October 21, 2025 @09:18AM (#45655397)
I mean, the article did say:

  It doesn't need to render a fucking Chromium instance to make a web request. It doesn't depend on a service to run. It doesn't require an "Enterprise" subscription for basic features.
So I'd say it meets all of the criteria except being on your machine already.
Re:Just Use Curl by millerm on Tuesday October 21, 2025 @10:36AM (#45656374)
Yup. Article mentioned `jq` as well. That's an external tool (and so is cURL if we are all being honest here).
Re:Just Use Curl by bravetraveler on Tuesday October 21, 2025 @10:22AM (#45656196)
Their words, not mine; the first header: "It's already on your machine". We can belabor it, but the domain is 'justuse'. No room for 'except' [unless you're reasonable, of course].

The 'egregious' things are charging to share what will fit very well in SCM (preventing real automation)... and breaking due to Online First/only. It makes sense to require the endpoint I'm talking to. Why would Postman need AWS/us-east-1 [0] for a completely unrelated API? Joyful rent-seeking.

cURL, your suggestion (hurl), or HTTPie all make far more sense. Store what they need in the place where you already store stuff. Profit, for free: never go down. Automate/take people out of the button-pushing pattern for a gold star.

0: https://news.ycombinator.com/item?id=45645172

Re:Just Use Curl by jicea on Tuesday October 21, 2025 @02:16PM (#45659484)
Hi maintainer of Hurl here, thanks for the link; Hurl is using libcurl as its HTTP engine (you can for instance use --curl to get an export of curl commands). In a few words, if you just use Hurl, you just use curl also...
Re:Just Use Curl by dprotaso on Tuesday October 21, 2025 @03:03PM (#45660127)
Curious is there a go lib that can read the config file? I’d love to have this in some testing to make it more accessible.