News for hackers. Stuff that matters.
Re:Just Use Curl by Xenoamorphous on Tuesday October 21, 2025 @09:09AM (#45655307)
I use both. It's quite convenient to have all the collections available and just send the request with a couple of clicks.
Re:Just Use Curl by CaptainOfCoit on Tuesday October 21, 2025 @09:12AM (#45655342)
For repeated commands, my projects have a Make/Just file that has cURL commands I wanna validate. Sometimes I even load JSON from a tests/fixtures/*.json file, that also can be reused for other non-E2E tests.

Not sure how some developers could be so allergic to the terminal, don't you already spend a lot of time there?

Re:Just Use Curl by Xenoamorphous on Tuesday October 21, 2025 @09:27AM (#45655518)
> Not sure how some developers could be so allergic to the terminal, don't you already spend a lot of time there?

Who says I'm allergic to the terminal? I already stated that I use curl.

I could also ask why are some developers so allergic to any kind of UI. And they're very vocal about it. Just use whatever you want.

Re:Just Use Curl by CaptainOfCoit on Tuesday October 21, 2025 @09:49AM (#45655773)
> Who says I'm allergic to the terminal? I already stated that I use curl.

Preferring "a couple of clicks" vs "run one command" seems to indicate so, otherwise I'm not sure why'd someone would prefer the former instead of the latter.

Re:Just Use Curl by Xenoamorphous on Tuesday October 21, 2025 @10:10AM (#45656043)
I have dozens of collections with hundreds of requests, most sending complex payloads, all perfectly organised hierarchically. I'd rather use a collapsible UI for that, if you prefer to have hundreds of scripts in folders that's fine too.

Actually I don't even create those collections, we have OpenAPI/Swagger docs for all of our APIs and I just import them with a couple of clicks (which I'm sure there's a way to do with curl).

For the odd requests, and sharing requests with others? I use curl, no problem. I actually think I know it pretty well and very rarely need to look up any docs for it.

Re:Just Use Curl by CaptainOfCoit on Tuesday October 21, 2025 @10:51AM (#45656557)
> I'd rather use a collapsible UI for that, if you prefer to have hundreds of scripts in folders that's fine too.

No, I don't (what a shitty strawman), I create abstractions then, like any other project. Surely you don't have hundreds of completely original and bespoke requests? Previously I've handled thousands of requests by having a .csv to load from.

Re:Just Use Curl by Xenoamorphous on Tuesday October 21, 2025 @12:54PM (#45658120)
> Surely you don't have hundreds of completely original and bespoke requests?

Absolutely I do. It’s not like a few hundred endpoints is out of the ordinary in any mid sized company.

I can go an edit any of the requests with autoformatting, highlighting and whatnot.

As I say, you can keep your csv and abstractions, not trying to convince you that you should switch from whatever works for you.

Re:Just Use Curl by troupo on Tuesday October 21, 2025 @09:25AM (#45655491)
Even those who spend a lot of time in the terminal are capable of recognizing its limitations.
Re:Just Use Curl by skydhash on Tuesday October 21, 2025 @09:20AM (#45655427)
Maybe on work computer. But I can’t bother with installing, updating, and running these kinds of bloats on my personal computers. Only two software stay open for longer than a few hours: Emacs and firefox.

The thing with simple tools is that bootstrapping is easy and versatile.