224
Just use cURL (justuse.org)
submitted 4 months ago by limer@lemmy.ml to c/programmerhumor@lemmy.ml

This is hilarious to me, after using the evil things for years . Of course, there are reasons to use the hated postman and companies (may they be forever cursed). And I plan to keep using them.

But many valid points are made

you are viewing a single comment's thread
view the rest of the comments
[-] silasmariner@programming.dev 13 points 4 months ago* (last edited 4 months ago)

... -H "Content-Type: application/json" -d '{"query": "{ users { name } }"}'? No. Why would you do that when you can just do ... --json '{"query": "{ users { name } }"}'. Yeah curl is awesome.

[-] phoenixz@lemmy.ca 5 points 4 months ago

If you're trying to say that curl isn't he best option for my mom, you're totally right.

For developers, on he other hand...

[-] hoppolito@mander.xyz 4 points 4 months ago

I believe they are just pointing out a more concise cli option. No value judgment included as far as I can tell.

[-] silasmariner@programming.dev 2 points 4 months ago

Yeah tbh I just thought the --json option was pretty neat - I hadn't known about it until fairly recently

this post was submitted on 21 Oct 2025
224 points (96.7% liked)

Programmer Humor

41128 readers
250 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS