|
|
|
|
|
by IgorPartola
32 days ago
|
|
I think of it like this: /users/ returns a 404 in an API means that this resource does not exist. As in, this is not a part of the API. /users/123 returns a 404 means this user record does not exist. Yes this means that a 404 is context dependent but in a way that makes it easier for a human to think of and reason about. |
|