A 200 with an error in the body looks like success to Guzzle, Axios, fetch, your...
Matt Glaman @mglaman@phpc.social
A 200 with an error in the body looks like success to Guzzle, Axios, fetch, your monitoring, and any agent calling your API through a tool.
I wrote up the status codes APIs get wrong most often: 201 on create, 204 on delete and what a retried DELETE should get, 409 vs 422, and why bad input should never surface as a 500.