this post was submitted on 21 Oct 2025
219 points (96.6% liked)

Programmer Humor

39134 readers
348 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 

This is hilarious to me, after using the evil things for years . Of course, there are reasons to use the hated postman and companies (may they be forever cursed). And I plan to keep using them.

But many valid points are made

top 50 comments
sorted by: hot top controversial new old
[–] undefinedTruth@lemmy.zip 87 points 4 weeks ago (2 children)

One more reason, there is a "copy as cURL" option in the Firefox developer tools network tab. It gives you a perfect cURL command including all the necessary cookies and headers to send the exact HTTP request that your browser just sent.

[–] eldavi@lemmy.ml 14 points 4 weeks ago

OMFG I wished I knew about this years ago! Thank you!

[–] AnarchistArtificer@slrpnk.net 6 points 4 weeks ago

Yay, learning!

[–] slazer2au@lemmy.world 41 points 1 month ago (1 children)

More coming soon. Or not. I don't owe you shit.

load more comments (1 replies)

This is great.

[–] pticrix@lemmy.ca 19 points 4 weeks ago* (last edited 4 weeks ago) (3 children)

If you like having a postman like interface, I've been using Bruno, which is a local, de-enshittified clone of postman.

I've never thought about just using curl, but when I'll finally migrate for good out of windows to Linux, I will try doing just that, see how that feels.

[–] SleveMcDichael@programming.dev 22 points 4 weeks ago (4 children)

Bruno has telemetry users can't opt out of: https://github.com/usebruno/bruno/issues/337

Which, IMO, is unacceptable.

[–] pticrix@lemmy.ca 9 points 4 weeks ago (1 children)

never noticed! will not recommend in the future. thanks for the heads up.

[–] Blaiz0r@lemmy.ml 4 points 4 weeks ago (2 children)

Its just a visit counter no personal data or application data is stored

[–] barubary@infosec.exchange 7 points 4 weeks ago

That's not what the Github ticket says.

[–] princessnorah@lemmy.blahaj.zone 6 points 4 weeks ago (1 children)

Servers can see the incoming IP address for a request, that is personal data.

[–] Blaiz0r@lemmy.ml 1 points 3 weeks ago (1 children)
[–] barubary@infosec.exchange 2 points 3 weeks ago

Yes, it's sent to posthog.

[–] Mikelius@lemmy.ml 3 points 4 weeks ago

Man, we just can't win with these UI tools, I also thought Bruno was the solution. Only use it on my work machine so that's why I guess I never noticed this. Thank you for sharing, time to go back to digging for better alternatives.

[–] Venat0r@lemmy.world 2 points 4 weeks ago

I never knew it had telemetry, this fork of it I haven't tried apparently doesn't though: https://github.com/Its-treason/bruno

load more comments (1 replies)
load more comments (1 replies)

~~Import our Postman library.~~ ❌
Clone our curl repo. ✅

[–] silasmariner@programming.dev 12 points 4 weeks ago* (last edited 4 weeks ago) (1 children)

... -H "Content-Type: application/json" -d '{"query": "{ users { name } }"}'? No. Why would you do that when you can just do ... --json '{"query": "{ users { name } }"}'. Yeah curl is awesome.

[–] phoenixz@lemmy.ca 4 points 4 weeks ago (1 children)

If you're trying to say that curl isn't he best option for my mom, you're totally right.

For developers, on he other hand...

[–] hoppolito@mander.xyz 2 points 4 weeks ago (1 children)

I believe they are just pointing out a more concise cli option. No value judgment included as far as I can tell.

[–] silasmariner@programming.dev 2 points 3 weeks ago

Yeah tbh I just thought the --json option was pretty neat - I hadn't known about it until fairly recently

[–] pathos@lemmy.ml 10 points 4 weeks ago

Didn't know cURL supports so many protocols

[–] RustyNova@lemmy.world 9 points 4 weeks ago (4 children)

The only point I can say is that editing text on the terminal isn't as simple as a regular text field. And AFAIK the only way to write a query on a regular text editor would be to write it, save to file, run file...

[–] dunz@feddit.nu 9 points 4 weeks ago

Pressing C-x C-e opens the current commandline in your default editor.

As in what's in your $EDITOR variable. If you haven't touched it, it's most likely Nano or some minimal vim

[–] Ephera@lemmy.ml 8 points 4 weeks ago

I find that if your command is complex enough that editing it on the terminal becomes annoying, then there's a very high chance you want it in a file anyways, just to document what you did and to allow easily re-running it.

Having said that, you can also have your shell open the command in your editor of choice: https://www.stefanjudis.com/today-i-learned/edit-long-shell-commands-in-your-usdeditor/

[–] Cort@lemmy.world 5 points 4 weeks ago* (last edited 4 weeks ago)

Couldn't you write in the text editor then copy/paste into terminal without saving? (Who needs documentation anyway)

[–] fibojoly@sh.itjust.works 2 points 4 weeks ago

I write in Notepad++ then copy paste to WSL.

[–] crater2150@feddit.org 8 points 4 weeks ago (1 children)

The only thing I still use Postman for at work is when running API performance benchmarks, as I wasn't yet motivated enough to write a curl wrapper to do such tests and plot the results. Especially when doing things like ramp up etc. it becomes more than a simple for-loop.

Can someone recommend an existing command line tool for that?

[–] harmless64@lemmy.today 9 points 4 weeks ago (1 children)

If you are running performance benchmarks, how about using jmeter?

[–] crater2150@feddit.org 10 points 4 weeks ago

Thank you, from a quick glance it seems to be able to do everything I need. I will try it for my next load test.

[–] aeternum@lemmy.blahaj.zone 5 points 4 weeks ago (1 children)

isn't this how RMS uses the internet? By cURLing all the URLs?

[–] Infrapink@thebrainbin.org 13 points 4 weeks ago (1 children)

No, he has his own bizarre approach

I generally do not connect to web sites from my own machine, aside from a few sites I have some special relationship with. I usually fetch web pages from other sites by sending mail to a program (see https://git.savannah.gnu.org/git/womb/hacks.git) that fetches them, much like wget, and then mails them back to me. Then I look at them using a web browser, unless it is easy to see the text in the HTML page directly. I usually try lynx first, then a graphical browser if the page needs it.

load more comments (1 replies)
[–] eager_eagle@lemmy.world 5 points 4 weeks ago

meh, use whatever the fuck you want

there, I can swear too

[–] Hupf@feddit.org 5 points 4 weeks ago

Total feelings of superiority: immeasurable.

[–] HubertManne@piefed.social 4 points 4 weeks ago (2 children)

curl is not great when testing configuration for various software solutions. there are a few better options than postman like httpie and another one but I forget its name.

[–] theherk@lemmy.world 4 points 4 weeks ago (2 children)

ducaale/xh is another much like curl. Closer to postman are Hoppscotch and Insomnia.

[–] HubertManne@piefed.social 2 points 4 weeks ago

ok yeah I think the other one I used was like a fork of insomnia.

[–] markstos@lemmy.world 1 points 4 weeks ago

Xh is my favorite— a rewrite of httpie with some fixes.

[–] princessnorah@lemmy.blahaj.zone 2 points 4 weeks ago (1 children)

Did you read the full post?

[–] HubertManne@piefed.social 1 points 4 weeks ago

I did and I did not see anything in the article that would take your api and give you an equivalent statement in a variety of languages which I think is why it was nice using the programs but i has been over a year since I did it. It was a fairly high amount of convenience.

[–] mattyroses@lemmygrad.ml 3 points 4 weeks ago (1 children)

Bruno seems significantly less evil . . . for now

[–] SleveMcDichael@programming.dev 4 points 4 weeks ago* (last edited 4 weeks ago)

Bruno has telemetry users can't opt out of: https://github.com/usebruno/bruno/issues/337

Which is misguided if not evil. Unnaceptable either way, IMO.

[–] VoxAliorum@lemmy.ml 2 points 4 weeks ago

I love it that the page is designed to advertise multiple pieces of software but stopped at curl ^^

https://justuse.org/

More coming soon. Or not. I don't owe you shit.

ffmpeg is definitely also a candidate for this.

[–] _wizard@lemmy.world 2 points 4 weeks ago

Wish I knew how to copy / paste a multi line in windows.

[–] Lightfire228@pawb.social 2 points 4 weeks ago
[–] dedconfigurator@pawb.social 2 points 4 weeks ago

Just use netcat

[–] sexual_tomato@lemmy.dbzer0.com 1 points 4 weeks ago

What about doing grpc / protobuf stuff

load more comments
view more: next ›