I'm developing a RESTful API and have a question about the most appropriate response status codes for certain scenarios.
Consider the case where the client makes a GET request for a resource. How can I disambiguate a "not found" response for the case where the resource legitimately does not exist, vs. the case where there may be a minor service interruption (during deployment, etc).
The W3C defines very specific status codes for nearly all cases you can think of. For your specific needs:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With