In Azure DevOps, if you type in the wrong item ID in a URL you get :
- HTTP 200
- with an error message in the body
- that says "Server error"

Microsoft software design in a nutshell.

Follow

@jkb clearly the body should say "error 500"

· · Web · 1 · 0 · 0

@val @jkb I've integrated vs apis like that. 😆

HTTP 200/Body { "status": 500, "message": "server error" }

A.k.a. HTTP 200: Error Successfully Delivered

@val @jkb I've also integrated with APIs where HTTP 200 <empty body> means there's an error and you need to call their GetErrors endpoint to see what's going on.

@pilum @val Ah yes, the K&R school of HTTP API design

Sign in to participate in the conversation
Octodon

oc.todon.fr is a mostly French-speaking Mastodon instance with an active moderation. oc.todon.fr est une instance Mastodon principalement francophone et avec une modération active.