Re:API Design Guide
by justinsaccount on Wednesday February 22, 2017 @03:14PM
(#13708770)
Yeah.. The bigger issue with this app is that it responds with a default apache 404 page instead of a 404 code + its usual xml response.
Re:API Design Guide
by eveningcoffee on Wednesday February 22, 2017 @06:07PM
(#13710131)
I think that this example illustrates why parent mentioned that this is a trap.
I didn't mean to imply that HTTP status codes could stand alone as error messages, so for a 404 error I'd also respond with more data, to help the user identify the issue.