Y
Hacker News
new
|
ask
|
show
|
jobs
by
asa400
36 days ago
Similarly, I once worked somewhere that had an HTTP API that returned status code 200 {“error”: “ok”} to indicate an error occurred.
1 comments
Schiendelman
36 days ago
A lot of GraphQL APIs are like this! They return a 200 just to mean the damn GraphQL is well formed, and the call can totally fail underneath.
link