When building a RESTful API and a user provides an id of resource that does not exist, should you return 404 Not Found or 400 Bad Request
404 Not Found
400 Bad Request
404 Not Found is the proper answer I think, 400 is more about the body of the requests and not the resource identifier, so for example you can send that by validation errors.
400