Ancestors

Toot

Written by Niki Tonsky on 2025-01-24 at 17:32

Old classic

=> View attached media

=> More informations about this toot | More toots from nikitonsky@mastodon.online

Descendants

Written by tvaughan on 2025-01-24 at 17:40

@nikitonsky This needs a content warning

=> More informations about this toot | More toots from tvaughan@mastodon.social

Written by Григорий Клюшников on 2025-01-24 at 17:41

Ага, это ВК так делает. Я его апи по большей части у себя скопирую, но вот это не скопирую

=> More informations about this toot | More toots from grishka@friends.grishka.me

Written by Francesco Marini on 2025-01-24 at 17:57

@nikitonsky triggering ptsd 😳

First company I worked as an iOS engineer for used to have this behavior for all their APIs 🙄🤦🏻‍♂️

Tried time and again to have it changed, to no avail.

=> More informations about this toot | More toots from fmarini@mastodon.social

Written by tj usiyan on 2025-01-24 at 18:08

@nikitonsky graphQL or?

=> More informations about this toot | More toots from griotspeak@soc.mod-12.com

Written by dasdom on 2025-01-24 at 18:44

@nikitonsky Even better:

{"status": 500}

=> More informations about this toot | More toots from dasdom@chaos.social

Written by RooneyMcNibNug on 2025-01-24 at 19:23

@nikitonsky this but its SSO logs

=> More informations about this toot | More toots from rooneymcnibnug@mastodon.social

Written by Carsten on 2025-01-24 at 19:37

@nikitonsky

And for the people dealing with geospatial data there is always the fun with #OGC web services like WMS which “traditionally“ report an error with HTTP 200 and some XML describing the error :-/

=> More informations about this toot | More toots from stranljip@social.tchncs.de

Written by Tim Lavoie on 2025-01-24 at 21:36

@stranljip @nikitonsky I had an infrastructure vulnerability scanner flag a client's server as running some dodgy, ancient service. (Adobe Media Server perhaps). Client was rightly annoyed, as they didn't use it. Turns out the scanner had picked up the reported server version, which was spoofed by another vendor's product.

Also appreciated that Nessus could show me why it reported something, where McAfee obfuscated everything.

=> More informations about this toot | More toots from tim_lavoie@cosocial.ca

Written by Tim Lavoie on 2025-01-24 at 21:38

@stranljip @nikitonsky Oh, and the other vendor product did have some message in the body, once you look for it. Ugh.

=> More informations about this toot | More toots from tim_lavoie@cosocial.ca

Written by da_667 on 2025-01-24 at 20:13

@nikitonsky

=> View attached media

=> More informations about this toot | More toots from da_667@infosec.exchange

Written by mirabilos on 2025-01-24 at 20:13

@nikitonsky we put it both into the HTTP code and the response once, to ease client development.

=> More informations about this toot | More toots from mirabilos@toot.mirbsd.org

Written by Ben Ramsey on 2025-01-24 at 20:25

@nikitonsky @sashag GraphQL has entered the chat

=> More informations about this toot | More toots from ramsey@phpc.social

Written by Ben Ramsey on 2025-01-24 at 20:27

@nikitonsky @sashag Also, that JSON won’t parse. 🤣

=> More informations about this toot | More toots from ramsey@phpc.social

Written by Jordan Biserkov on 2025-01-24 at 21:20

@ramsey @nikitonsky @sashag Why is that? Looks valid to me..

=> More informations about this toot | More toots from jbiserkov@mas.to

Written by Ben Ramsey on 2025-01-24 at 22:28

@jbiserkov @nikitonsky @sashag The curly quotes will cause a syntax error. 😉

=> More informations about this toot | More toots from ramsey@phpc.social

Written by Andrew Golding on 2025-01-24 at 20:29

@nikitonsky this is so common in orgs that did conversions from SOAP semantics to JSON. Big aughts enterprise software energy.

=> More informations about this toot | More toots from huronbikes@cyberplace.social

Written by hisold on 2025-01-24 at 20:40

@nikitonsky I had to work with an API that usually responds with json but if your request crashes the handler, you get the stacktrace formatted as HTML.

=> More informations about this toot | More toots from hisold@toot.io

Written by Brandon on 2025-01-24 at 20:44

@nikitonsky apparently a hot take here... I am that person, though I prefer an integer code (for the machine) and a string (for the logs/developer) instead of a boolean, and most importantly an idiot-proof way to communicate to clients whether they should try again soon (with an exponential backoff) or give up because it'll never work unless they change something in the request, and even better if the code can describe specifically what field/data they should change. I believe the insurmountable chasm here between the different opinions is whether HTTP is the API or is just one of several possible transport layers, but of course that's probably an oversimplification.

=> More informations about this toot | More toots from commodore@discuss.systems

Written by Sergey on 2025-01-24 at 21:08

@nikitonsky {"error": "success"}

=> More informations about this toot | More toots from enzet@masto.ai

Written by Kirrepic on 2025-01-24 at 21:34

@nikitonsky Odoo...

=> More informations about this toot | More toots from kirrepic@oc.todon.fr

Written by Johan Wärlander 🦀 on 2025-01-24 at 21:46

@nikitonsky Also on the menu:

403 Forbidden, for when you try to access a resource that needs a login.. OR hit the rate limit.

=> More informations about this toot | More toots from jwarlander@mastodon.nu

Written by Raymond Abittbol :ggcg: on 2025-01-24 at 21:57

@nikitonsky {"error":"success"} 😂

=> More informations about this toot | More toots from rabittbol@masto.bike

Written by Kusalananda on 2025-01-24 at 23:10

@nikitonsky The HTTP request went well, but the API call that was carried by the HTTP request returned an error. I see nothing wrong with this.

=> More informations about this toot | More toots from kusalananda@fosstodon.org

Written by canleaf08 ⌘ ✅ on 2025-01-25 at 00:00

@nikitonsky aghhhhhhhh saw such a system recently that did instead of « 401 », « 200 OK » with a payload « user has no rights ».

=> More informations about this toot | More toots from canleaf@mastodon.social

Written by Dave Wood 🇨🇦 on 2025-01-25 at 00:00

@nikitonsky I wish this classic. Still commonplace at my work. Drives me insane!

=> More informations about this toot | More toots from davewoodx@mastodon.social

Written by Patrick Wu on 2025-01-25 at 01:59

@nikitonsky man, every time I see this kind of meme deepens my hate for Microsoft Teams API

=> View attached media

=> More informations about this toot | More toots from patrick@o0o.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113884524492933581
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
416.122384 milliseconds
Gemini-to-HTML Time
7.839615 milliseconds

This content has been proxied by September (3851b).