- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
IIRC postman has gRPC support, unlike httpie, but it’s also so awful. If you use the gRPC support, switch to Kreya instead
This is such a weird article. Electron is not for making http requests, it’s for rendering web pages. Nothing within curl can render web pages. I’m not saying you should be using electron necessarily, but this is just so obviously wrong, what is the author thinking?
And (almost) any programming language has a built-in primitive for making http requests (possibly even using libcurl internally), why would I switch to a command line call if I can just do the http call directly with that primitive?
I think it’s a jab at Postman, which is essentially curl with a GUI.
Postman has Collection Runner tho, which is useful for people that like to dick around on a GUI and get their data harvested and used for AI training instead of writing their own script in Python.
Command line escaping is an annoying son of a bitch and different rules apply depending if you’re using bash, cmd, powershell.
That’s why you shouldn’t use cmd or powershell. That and the fact that you’d have to install W*nd*ws in order to use them.
Edit: Too bad that all the downvoters didn’t leave a comment. Now I’ll never know if it was M*cr*s*ft employees on their anual works outing, or if you’re mad because I dared to use the W-word :D
I hate windows/microsoft as much as anyone and i hate to say this but powershell isn’t that bad and can be installed on Linux and MacOS
Yeah but why would you, they already have proper shells
String escaping sucks in bash and other posix-style shells too, though.
“Tru dat\!”
Command line escaping is not a solely cmd or powershell thing to deal with. But also,
As a daily curl user, this made me interested in trying out postman.
It will upload your credentials to the cLoUd and ask you for payment to do basic things. Completely enshittified.
I was pretty bullish on insomnia until it enshitified
There are less bloated alternatives I prefer. Like Bruno, which is easy/easier to version control.
Thanks for mentioning Bruno! It looks awesome. I haven’t tried it out, but I’m going to give it a shot today.
I’m very early stages on making my own TUI for http requests that’s shortcut based. Idea is to use Jetbrains format http files. Folders for projects, sidebar for requests etc.
Supports environments and I’m hoping I can set up the main screen to use Vim.
It’s born out of postman hate mostly. It’s just so bloated
More coming soon. Or not. I don’t owe you shit.
Generally not a big fan of this type of writing especially when it’s so wrong.
I’m an old software dev who grew up with curl but I wouldn’t recommend it to anyone new. It’s extremely dated UX that takes a long time to figure all of the quirks out. You will fail thousand times over and is a http client CLI really worth days of your time learning?
Libcurl itself is brilliant but there are much better front ends for it like hurl or alternatives like httpie - use those instead.
Yes it is worth it, because it is available everywhere, and will still be around in 15 years. Learn it once, use it “forever”, everywhere. It’s the same with learning to use sed, awk, etc. They’ve been around for 50 years and will most likely be for another 50.
It’s just a http client CLI not a programming language. It’s not that difficult to switch. In fact I use at least 5 different ones myself.
All the more reason to learn and use curl
Hurl looks similar to how intellij integrates their http requests feature.
That was a fun read! I don’t even know what Postman is but I do like curl :P
Be glad you don’t know what Postman is.
The only reason I bother is because some PMs want to use it.
Look at Bruno. Its open source, though I did get pay walled the other day and it pissed me off.
Somewhere in between is https://hurl.dev/index.html
This is beautiful. I’ma send this to my coworkers.
With none other than…
Outlook. In HTML format. With a giant signature that includes an embedded image.
Also the image is a 2400px image that has been resized using width and height attributes.
You can pry
wget
from my cold, dead hands.they are different things, wget and curl do not have many overlapping use cases other than downloading stuff over http