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.
Same here, though last time I used a nice frontend was in 2010s, it stopped being developed like all these smaller projects finally end up, and I'm back to using curl. Perhaps it's time to try again, httpie has been around for a while so maybe it's here to stay
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
Thankfully Thunderbird, although most folks here just use the Roundcube web client.
With a giant signature that includes an embedded image.
They are auto-generated and enabled for everyone. Typical corporate bullshit I guess.
Also the image is a 2400px image that has been resized using width and height attributes.
It's a portrait (that thankfully has been downsized and compressed so much, that it's barely recognizable (thank goodness, because it's a horrific photo)), as well as a photo of my physical signature. Oh god do I hate emails and email signatures. And fuck my company for wanting emails to look "authentic" and including this stupid ass signature.
Bruno Looks interesting. I think the last time I read about it it was very new, I might need to give it another try. I hope it will not end up like postman or insomnia.
The first thing I see when opening the httpie app website is a "we now have ai" pop-up. So probably not that one.
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?
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.
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
It's been awhile since I had to deal with web requests. Back then I used Postman (back when I still used Windows). Now I try to always get by using the simplest open source tools for the job so thanks for sharing, will try it out.
I knew of curl but always thought of it as a tool to play around when doing simple requests, never knew people go so far with it.
The few times I’ve used Postman, I found myself doing everything I needed in Python shortly afterwards. It’s not cURL, but it could easily be such; I prefer the self organized “text” interface of code.
57 Comments
kambusha@sh.itjust.works · 59 pts · 313d
Bazoogle@lemmy.world · 1 pts · 311d
I saw that on the main page. That was the best line
Ethanol@pawb.social · 34 pts · 313d
That was a fun read! I don't even know what Postman is but I do like curl :P
frezik@lemmy.blahaj.zone · 24 pts · 313d
Be glad you don't know what Postman is.
The only reason I bother is because some PMs want to use it.
chocrates@piefed.world · 10 pts · 313d
Look at Bruno. Its open source, though I did get pay walled the other day and it pissed me off.
FishFace@piefed.social · 4 pts · 312d
I thought this article was complaining about something that no-one used, but here you are recommending alternatives... alternatives that are not curl
mmmac@lemmy.zip · 4 pts · 312d
Check out yaak, also open source no paywall. Built on Tauri so not a dumb electron app
orygin@piefed.social · 4 pts · 312d
Yaak has a commercial paywall if you use the pre-built binaries. You can easily build it yourself without licensing tho
codemankey@programming.dev · 2 pts · 312d
Still has an open source version tho: https://www.usebruno.com/pricing
drmoose@lemmy.world · 25 pts · 313d
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.
__nobodynowhere@sh.itjust.works · 6 pts · 312d
Wow the httpie site is terrible
RheumatoidArthritis@mander.xyz · 3 pts · 312d
Hahahahaha you're not wrong
jenesaisquoi@feddit.org · 4 pts · 311d
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.
drmoose@lemmy.world · 2 pts · 311d
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.
jenesaisquoi@feddit.org · 1 pts · 311d
All the more reason to learn and use curl
drmoose@lemmy.world · 2 pts · 311d
Yes after you learn all better clients first, sure.
jenesaisquoi@feddit.org · 1 pts · 311d
Which do you consider better?
luciferofastora@feddit.org · 2 pts · 311d
...probably the ones they mentioned in the root comment?
ohlaph@lemmy.world · 1 pts · 311d
Hurl looks similar to how intellij integrates their http requests feature.
RheumatoidArthritis@mander.xyz · 1 pts · 312d
Same here, though last time I used a nice frontend was in 2010s, it stopped being developed like all these smaller projects finally end up, and I'm back to using curl. Perhaps it's time to try again, httpie has been around for a while so maybe it's here to stay
__nobodynowhere@sh.itjust.works · 23 pts · 312d
Command line escaping is an annoying son of a bitch and different rules apply depending if you're using bash, cmd, powershell.
brotundspiele@sh.itjust.works · 5 pts · 312d
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
BatmanAoD@programming.dev · 9 pts · 312d
String escaping sucks in bash and other posix-style shells too, though.
brotundspiele@sh.itjust.works · 2 pts · 312d
"Tru dat\!"
AlphaAutist@lemmy.world · 6 pts · 312d
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
jenesaisquoi@feddit.org · 6 pts · 311d
Yeah but why would you, they already have proper shells
brotundspiele@sh.itjust.works · 4 pts · 311d
Thanks, I didn't know that. And now I wish I could forget it again.
dariusj18@lemmy.world · 1 pts · 312d
Command line escaping is not a solely cmd or powershell thing to deal with. But also,
https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.5
brotundspiele@sh.itjust.works · 1 pts · 311d
Thanks, I didn't know that. And now I wish I could forget it again.
flamingos@feddit.uk · 19 pts · 313d
You can pry
wgetfrom my cold, dead hands.sga@piefed.social · 19 pts · 313d
Andromxda@lemmy.dbzer0.com · 11 pts · 313d
This is beautiful. I'ma send this to my coworkers.
QuazarOmega@lemy.lol · 3 pts · 313d
With none other than...
trk@aussie.zone · 4 pts · 311d
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.
QuazarOmega@lemy.lol · 1 pts · 311d
Oh lord, don't tell me it's also laid out with tables, too? 😭
Andromxda@lemmy.dbzer0.com · 1 pts · 311d
Thankfully Thunderbird, although most folks here just use the Roundcube web client.
They are auto-generated and enabled for everyone. Typical corporate bullshit I guess.
It's a portrait (that thankfully has been downsized and compressed so much, that it's barely recognizable (thank goodness, because it's a horrific photo)), as well as a photo of my physical signature. Oh god do I hate emails and email signatures. And fuck my company for wanting emails to look "authentic" and including this stupid ass signature.
tja@sh.itjust.works · 10 pts · 313d
That's great. I like a GUI. I also do not like whatever postman is. So I have to suffer until I find something that works for me
portnull@lemmy.dbzer0.com · 8 pts · 313d
Httpie desktop? Bruno https://www.usebruno.com/?
tja@sh.itjust.works · 5 pts · 313d
Bruno Looks interesting. I think the last time I read about it it was very new, I might need to give it another try. I hope it will not end up like postman or insomnia.
The first thing I see when opening the httpie app website is a "we now have ai" pop-up. So probably not that one.
portnull@lemmy.dbzer0.com · 1 pts · 312d
Ah has ai made it to httpie now too? Shame.
RheumatoidArthritis@mander.xyz · 9 pts · 312d
As a daily curl user, this made me interested in trying out postman.
codemankey@programming.dev · 12 pts · 312d
There are less bloated alternatives I prefer. Like Bruno, which is easy/easier to version control.
RheumatoidArthritis@mander.xyz · 1 pts · 312d
I just downloaded it, there's even an appimage 😍
jenesaisquoi@feddit.org · 4 pts · 311d
It will upload your credentials to the cLoUd and ask you for payment to do basic things. Completely enshittified.
dariusj18@lemmy.world · 1 pts · 312d
I was pretty bullish on insomnia until it enshitified
portnull@lemmy.dbzer0.com · 7 pts · 313d
Somewhere in between is https://hurl.dev/index.html
frezik@lemmy.blahaj.zone · 6 pts · 313d
Is there one of these for shell scripts over CI/CD frameworks?
Azzu@lemmy.dbzer0.com · 5 pts · 312d
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?
MinFapper@startrek.website · 25 pts · 312d
I think it's a jab at Postman, which is essentially curl with a GUI.
dubyakay@lemmy.ca · 7 pts · 312d
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.
olafurp@lemmy.world · 4 pts · 312d
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
QuizzaciousOtter@lemmy.dbzer0.com · 4 pts · 313d
curl is obviously fantastic but for more complex ad-hoc requests I usually prefer httpie.
goatinspace@feddit.org · 3 pts · 313d
PodPerson@lemmy.zip · 1 pts · 313d
Bighead is not to be fucked with.
chasteinsect@programming.dev · 2 pts · 312d
It's been awhile since I had to deal with web requests. Back then I used Postman (back when I still used Windows). Now I try to always get by using the simplest open source tools for the job so thanks for sharing, will try it out.
I knew of curl but always thought of it as a tool to play around when doing simple requests, never knew people go so far with it.
CodeBlooded@programming.dev · 2 pts · 311d
The few times I’ve used Postman, I found myself doing everything I needed in Python shortly afterwards. It’s not cURL, but it could easily be such; I prefer the self organized “text” interface of code.
southernbrewer@lemmy.world · 2 pts · 312d
IIRC postman has gRPC support, unlike httpie, but it's also so awful. If you use the gRPC support, switch to Kreya instead
Cyno@programming.dev · 1 pts · 311d
nah im good lol
bruno seems decent