users@jersey.java.net

Guidelines on which response code to use

From: tofferliu <toffer_liu_at_yahoo.com>
Date: Fri, 17 Sep 2010 13:29:00 -0700 (PDT)

Hi,

I'm not sure what response code to return for logical errors, like invoking
a method on an item which does not exist. If I called something like
"paintCar(carId)" and carId is syntactically correct but it does not exist
in the repository. It doesn't seem intuitive if I returned a 404?

Is there a document I can use as a reference for this? I did a little
looking and I didn't find anything better tailored to REST apart from the
standard definitions you can find in wikipedia.

-Toffer
-- 
View this message in context: http://jersey.576304.n2.nabble.com/Guidelines-on-which-response-code-to-use-tp5544231p5544231.html
Sent from the Jersey mailing list archive at Nabble.com.