The default API tooling that comes to your mind is Postman.
Postman is cloud based - the other offline alternatives are on their way to enshittification.
Is there any solution to the problem or we should all default to curl.
The default API tooling that comes to your mind is Postman.
Postman is cloud based - the other offline alternatives are on their way to enshittification.
Is there any solution to the problem or we should all default to curl.
24 Comments
littleomid@feddit.org · 41 pts · 78d
No, the default API tooling that comes to my mind is curl.
Obligatory: https://justuse.org/curl/
mlg@lemmy.world · 7 pts · 78d
Everything except my random podman container I need to test something on, but for some reason will have wget lmao.
Also a good time to mention you can use
Ctrl+x Ctrl+eto edit your multi line commands in your default terminal editor so you can keep a clean, line separated command which is easy to read and follow.Badabinski@kbin.earth · 4 pts · 78d
Is your container using BusyBox? if so, then it's not even real
wget, it's just the disgusting awful busybox version.God I hate BusyBox.
captcha_incorrect@lemmy.world · 3 pts · 78d
Okey,
Ctrl+x Ctrl+eis super cool. I did not know about that! Thanks!captcha_incorrect@lemmy.world · 2 pts · 78d
I've used Postman et al. but I often default to PowerShell (because Windows) and a text file. It gives me everything I need from Postman without having to install or learn new tools.
Curl is nice but I miss the object orientation in my shell when I use *sh.
dhruv3006@lemmy.world · -4 pts · 78d
But then how did Postman became so popular - we can't deny it became the default.
dyathinkhesaurus@lemmy.world · 7 pts · 78d
Point and drool as opposed to learning cli commands.
suzune@ani.social · 1 pts · 78d
CLI is so easy. You learn the basic concepts and can use thousands of tools.
curl is a very common tool. It's installed everywhere, probably also on the postman servers... lol
slazer2au@lemmy.world · 4 pts · 78d
So did windows in the business world. Just because it's default doesn't mean it's the best option. People will take a pile of poop with a pretty veneer that does 90% of the work over the correct tool with a leaning curve.
Zwuzelmaus@feddit.org · 2 pts · 78d
But that was a good while ago. And it was not a cloud thing at the time it was popular.
There are many alternatives now.
Nester@feddit.uk · 14 pts · 78d
There are a few other options, such as Bruno.
https://www.usebruno.com/
But if you can spare the time to learn curl it's probably the most versatile.
Undaunted@feddit.org · 5 pts · 78d
Bruno is pretty decent, though I don't like that it's not fully FOSS. The whole premium feature stuff is closed source, if I'm not mistaken.
dhruv3006@lemmy.world · 3 pts · 78d
subscription based right?
Nester@feddit.uk · 3 pts · 78d
It's free for a single user, but you pay a subscription per user for collaborative use.
I'm just a solo enthusiast so it's free for what I'd use it for.
Edit: I guess to your earlier point perhaps this a step towards enshitification and they might well put more and more tools behind a paywall.
Breezy@sopuli.xyz · 2 pts · 78d
Yup, Bruno is my choice as well coming from Insomnia and Postman. I was lucky enough to purchase the early supporter lifetime license when it was available, so I'll be using it for the foreseeable future. Hopefully it doesn't enshittify as another commenter pointed out.
While I still use curl for simple requests, I really do like having a GUI. Features like prettifying requests and responses, being able to fold code, saving requests, shared authorization across multiple requests, etc. Are the reasons why I don't think I could ever really use CLI options.
OpenAltFinder@lemmy.world · 5 pts · 78d
Bruno and Yaak are both pretty decent, I use Yaak on a daily basis. There's also HTTPie, Hoppscotch, Insomnia and Scalar.
AnotherPenguin@programming.dev · 2 pts · 78d
There's also https://hurl.dev/ for those that like curl
OpenAltFinder@lemmy.world · 1 pts · 78d
That looks cool, I also just discovered https://github.com/VoidenHQ/voiden, which seems similar but uses Markdown instead.
statelesz@slrpnk.net · 4 pts · 78d
What about Hoppscotch? hoppscotch.io
clif@lemmy.world · 4 pts · 78d
Postman locked all my locally saved requests away after an update unless I created an account with them. I wasn't updating very often because every update made it shittier.
Fuck postman.
I've been all in on Bruno ever since.
Undaunted@feddit.org · 3 pts · 78d
I've been searching for alternatives as well, especially since Insomnia introduced mandatory account creation.
I think Yaak is pretty good and I recently found out about Voiden, though I haven't had a chance to try it out yet.
Edit: I forgot to mention that if you're using IntelliJ Ultimate for what you're doing, it has a built-in HTTP client too. We use that a lot at work, because then you can have the requests directly together with your application's source code inside your repository, which is kinda handy.
monomon@programming.dev · 3 pts · 78d
In emacs, there is http mode, and you can have http code blocks straight in an org mode document, it's amazing. And it works with the overall org babel system, so variables can come from other blocks, potentially in different languages.
EarMaster@lemmy.world · 2 pts · 78d
I still use Insomnia as I think it offers the better experience over Postman, but I wouldn't recommend it as it gets shifted more and more into a forced subscription model.
I have installed Hopscotch, but Insomnia still works so I never felt the need to switch - but I am ready to do so.
HybridSarcasm@lemmy.world MOD · 2 pts · 75d
This technically breaks Rule 3, since it doesn’t cover a self-hosted service or application. However, “local over cloud” is always welcome here. So, leaving this post up, but locking to encourage discussion in the proper communities.