this post was submitted on 28 May 2024
26 points (100.0% liked)

General Programming Discussion

185 readers
1 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 10 comments
sorted by: hot top controversial new old
[–] temmink@feddit.de 7 points 7 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 6 points 7 months ago* (last edited 7 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 7 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 6 points 7 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 2 points 7 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 2 points 7 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 6 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.

[–] nayminlwin@lemmy.ml 1 points 7 months ago

Use restfox

[–] expr@programming.dev 1 points 6 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.