I have a resources with uri /api/books/122
, if this resource doesn't exist at the point where a client sends HTTP Delete for this resource, what is the appropriate response code from this action? Is it 404 Not Found?
Thanks
Tell me more
×
Stack Overflow is a question and answer site for
professional and enthusiast programmers. It's 100% free, no registration required.
|
Yes, it would be 404. In general it will be a 400 series error if the request is wrong somehow, and a 500 series error if something goes awry on the server. |
|||
|