News for hackers. Stuff that matters.
Re:Best practices for REST API design (2020) by p_l on Monday February 22, 2021 @02:18PM (#26229102)
I'd propose either 421 Misdirected Request or 400 Bad Request, both with more detailed error message in the body when the URI Path is incorrect and doesn't map to anything, and 404 Not Found for valid requests for things that don't exist.

There are no comments on this comment yet.