API resources and status codes

Which status fits a missing resource?

Examples

Worked example

Input
A client requests a well-formed ID that is not present.
Expected output
404

Hints and solution

Hint 1

Write down the starting state and walk through one example by hand.

Reveal worked answer

The request can be understood, but the requested resource does not exist.

Back to the lesson