this post was submitted on 28 May 2024
41 points (97.7% liked)

General Programming Discussion

7796 readers
8 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

I just want to build requests and read the responses, why the hell does everyone suddenly want me to make an account?

top 18 comments
sorted by: hot top controversial new old
[–] breadsmasher@lemmy.world 38 points 5 months ago* (last edited 5 months ago) (2 children)

It seems that way with a lot of REST clients for whatever reason.

It starts off as what we all want - a simple rest client, maybe storing environments and requests

Then companies start building more features to try and create a whole community or ecosystem

They start asking for account creation. Then team creation to share with your team. Then an enterprise plan. Then they gimp the original features and paywall them.

Looking at you, Postman, Insomnia, Thunderclient

[–] kakes@sh.itjust.works 3 points 5 months ago

The thing is, I kinda get it in a way. Like, having an account lets them offer so many more useful features, and over time they might just see it as not worth supporting two "types" of users, so they lean more on requiring an account.

Obviously, a lot of this is driven by execs trying to make their line go up, but even without that it does make sense to a point. Not that I agree with it at all, but I see how it would happen.

[–] makingStuffForFun@lemmy.ml 1 points 5 months ago (1 children)
[–] atzanteol@sh.itjust.works 2 points 5 months ago (1 children)
[–] makingStuffForFun@lemmy.ml 1 points 5 months ago

For a few months yes. But it'd be hard to find something it can't do. It's very capable. And no account required.

[–] Thcdenton@lemmy.world 12 points 5 months ago (1 children)

Fuck Postman. curl 4 life.

[–] shotgun_crab@lemmy.world 3 points 5 months ago (1 children)

Why curl when you can hurl

[–] Thcdenton@lemmy.world 1 points 5 months ago

Neat! TIL about hurl 😁

[–] temmink@feddit.de 10 points 5 months ago

For a lot of use cases I find .http files very convenient. Here is a documentation from Microsoft: https://learn.microsoft.com/en-us/aspnet/core/test/http-files?view=aspnetcore-8.0

There is some standard around the .http extension so they work in many IDEs and they can be implemented into CI pipelines. The Microsoft documentation should be enough, though, to get you started.

[–] taaz@biglemmowski.win 9 points 5 months ago* (last edited 5 months ago) (1 children)

https://github.com/usebruno/bruno

There is also https://github.com/hoppscotch/hoppscotch but the absence of offline local client was always a blocker

[–] kjpctech@lemm.ee 2 points 5 months ago

I've been using Bruno since Postman started asking for an account. It works but it does feel like I'm missing a lot of features.

[–] cdp1337@social.veraciousnetwork.com 8 points 5 months ago (1 children)

@lorty I feel your pain; I had to switch from Postman to Insomnia because I couldn't use the local application anymore without creating an account, but even Insomnia is pushing to create an account somewhere.

[–] makingStuffForFun@lemmy.ml 3 points 5 months ago (1 children)

https://github.com/ArchGPT/insomnium?tab=readme-ov-file

Works brilliantly. But, not maintained for some months now.

More than enough for me though.

@makingStuffForFun wow, just realized my build of Insomnia was 2023.5.8, (the exact version before they switched to logins). I'll have to grab a copy of insomnium. No concern that it may not be actively maintained; it's just a basic Electron app.

[–] PeriodicallyPedantic@lemmy.ca 3 points 5 months ago

I wonder how hard it'd be to make a PWA and host it on GitHub 🤔 Maybe this would be a good yet-another-hobby-project-ill-never-complete to pick up

[–] Carol2852@discuss.tchncs.de 2 points 5 months ago

Intellijs build in HTTP client is good enough for me to use it for my testing purposes and even for short one-off thing I previously might've done with curl.

[–] expr@programming.dev 1 points 5 months ago

https://curl.se/ has been account free since 1998.

Never understood why people keep trying to use proprietary tools for this, especially when curl is so good.

I have a directory of shell scripts I use to test out endpoints. I persist request/response data either with environment variables or regular files. Oh and since these are just shell scripts, it's pretty trivial to do stuff like iterate over a CSV (or JSON array) and make a request for each row, conditionally make requests, or whatever else you want.

Oh and honorable mention goes to jo and jq for making it super easy to make/process JSON data.

[–] nayminlwin@lemmy.ml 0 points 5 months ago

Use restfox