169
submitted 1 month ago* (last edited 1 month ago) by dhruv3006@lemmy.world to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] trxxruraxvr@lemmy.world 39 points 1 month ago

If you have decent documentation you shouldn't need an api client. https://justuse.org/curl/

[-] RustyNova@lemmy.world 10 points 1 month ago

My evangelism has worked evil laughter

[-] dhruv3006@lemmy.world 6 points 1 month ago

Well having decent documentation is kind of rare.

[-] trxxruraxvr@lemmy.world 3 points 1 month ago

But is providing a special client for your api really less work than fixing your documentation?

[-] bleistift2@sopuli.xyz 1 points 1 month ago* (last edited 1 month ago)

I occasionally use curl, and it’s annoying when you have secrets that need to rotate regularly or you need to change the middle of a URL. Also: Fuck quoting in the shell.

[-] trxxruraxvr@lemmy.world 3 points 1 month ago

I put the secrets in environment variables, I don't what them to show up in the shell history anyway. Quoting can be a bit anything if you need nested quotes, but I hardly ever need that with curl.

this post was submitted on 13 Mar 2026
169 points (87.2% liked)

Programmer Humor

31225 readers
255 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 2 years ago
MODERATORS