I am developing a RESTful API. One of the URLs allows the caller to request the record for a specific person by id.
What is the conventional value to return of the record for that id does not exist? Should the server send back an empty object or maybe a 404, or something else?
Thanks.