Answer the question
In order to leave comments, you need to log in
Correct API GET response when resource is missing: null or 404 not found?
For example, there is a GET request to the /books/123 API. There is no book with ID 123.
What is the more correct api answer? Null or, after all, the message not found and the status 404?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question