this post was submitted on 10 Mar 2026
209 points (99.5% liked)

Programmer Humor

31948 readers
404 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Skullgrid@lemmy.world 2 points 3 months ago (1 children)

Follow redirects? curl -L

still gives HTML

[–] RustyNova@lemmy.world 8 points 3 months ago (2 children)

Yeah? That's what the response is. What do you expect?

[–] scrubbles@poptalk.scrubbles.tech 4 points 3 months ago (4 children)

I think they're point is that curl is great but then you have to have a way to render it to know if it's correct. With apis you can use jq, but yeah a dump of html isn't really useful to humans

[–] floquant@lemmy.dbzer0.com 18 points 3 months ago

Yeah but we're talking about API tools, not web browsers. People are using postman to see JSON, XML, or whatever horrible format the devs on the other side chose to use, not to render HTML graphically. If you query an HTML page using curl, you should get the HTML back, I don't see what's the problem

[–] RustyNova@lemmy.world 4 points 3 months ago* (last edited 3 months ago) (1 children)

Oh. Fair enough. The intent for curl is definitely to display the HTML as it's whole point.

Anyways.

curl -L -o "/tmp/your.html" https://justuse.org/curl && librewolf "/tmp/your.html"

[–] HexaBack@lemmy.blahaj.zone 1 points 3 months ago (1 children)

librewolf is overkill I was expecting to hear something like links2

[–] RustyNova@lemmy.world 1 points 3 months ago

Yeah, but It's more that you probably already have a browser open, so it's better to just reuse the resources

Also, just replace it with your favourite browser. It should also just work

[–] Skullgrid@lemmy.world 2 points 3 months ago

I tried the suggestion and saw that the original complaint persisted.

I didn't think anything to be honest.

[–] Skullgrid@lemmy.world 3 points 3 months ago

I tried the suggestion and saw that the original complaint persisted.

I didn't expect anything to be honest.