What is the correct response for web service?

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-04-29T16:56:55Z Indexed on 2010/04/29 17:07 UTC
Read the original article Hit count: 330

Filed under:

One of my web services returns the list of ids of the the projects a person is owner of. That is, when I GET http://example.com/wsListProjects?user=eric I get back xml with the list of projects. However, when I specify user=xxx, who doesn't exist, I currently return a 404 response? Is this the correct response to return?

Thanks.

© Stack Overflow or respective owner

Related posts about restful