Closed cellularmitosis closed 1 month ago
Sorry for venting my frustration.
No I get your frustration, but the API does correctly implement those status codes.
If you're getting a 200 on errors, then that's a bug.
Just verified it and yes, that's a bug. It should definitely reply with a 400 on this one:
Alright, bug is fixed now. If you didn't open this issue I probably would've never known so thanks!
When I request an intentionally bogus URL:
Instead of a 404, I get a 200 back (or should I call that a 106?):
It appears this API eschews HTTP and instead implements a custom protocol on top of HTTP.
For example, the standard way of indicating an internal error is to return a 500. However, it appears the API would instead return a 200 of the form:
This is a bummer, because everyone's existing knowledge, frameworks and tooling around handling REST APIs is now useless.