this post was submitted on 21 Oct 2025
224 points (96.7% liked)
Programmer Humor
39065 readers
185 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
... -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.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...
I believe they are just pointing out a more concise cli option. No value judgment included as far as I can tell.
Yeah tbh I just thought the --json option was pretty neat - I hadn't known about it until fairly recently