Assuming I create a RESTful web service that looks up a user in a database given the id as a parameter.
If the user does not exist, should I return a 404 response (because user not found)? Or a 200 response with a "User not found" error message?
What's the better practice?