The HTTP status code _______ is commonly returned when the requested resource does not exist.
- 404
- 400
- 403
- 405
The correct option is 404. This status code indicates that the server could not find the requested resource. It is a standard response for situations where the server cannot locate the requested URL on the server.
Loading...
Related Quiz
- How do microservices communicate with each other in a typical microservices architecture?
- Proper error handling in APIs should always include _________ to guide users or developers in resolving the issue.
- Which feature of API Gateways helps in managing traffic and load balancing?
- SOAP's use of _______ provides built-in error handling, making it suitable for complex operations.
- Mocking APIs is particularly useful in a __________ environment where the real API is not yet available or is undergoing changes.