200-901 · Question #511
What is the reason for an HTTP 404 code returned from a REST API request?
The correct answer is B. The requested resource is not found.. An HTTP 404 status code indicates that the server cannot find the requested resource. This could be due to various reasons, such as an incorrect URL, a resource that has been deleted or moved, or a typo in the request. It signifies that the client's request does not correspond to
Question
What is the reason for an HTTP 404 code returned from a REST API request?
Options
- AThe requested URL exists, but the HTTP method is not applicable.
- BThe requested resource is not found.
- CThe request was missing or had an invalid authentication token.
- DThe request was successful, but nothing is in the response body.
How the community answered
(18 responses)- A6% (1)
- B89% (16)
- D6% (1)
Explanation
An HTTP 404 status code indicates that the server cannot find the requested resource. This could be due to various reasons, such as an incorrect URL, a resource that has been deleted or moved, or a typo in the request. It signifies that the client's request does not correspond to any existing resource on the server.
Topics
Community Discussion
No community discussion yet for this question.