jsmyth
11 years agoContributor
http response codes
Hi,
I am new to Lithium so apologies if I ask a simple/already answered question.
If I make a call to an endpoint which doesn't exist e.g. http://forum.oursite.com/restapi/vc/categories/id/100we where '100we' is an unknown resource, I get a HTTP 200 return code and a response body with an embedded error code of error - 101, whereas, I would have expected to get a 404 - Not found.
I did find a thread in the forums which outlines the Lithium error codes (below), but I guess I would ask why the HTTP response codes are not as expected, and in addition, would appreciate any views on the level of REST compliance supported by Lithium (I appreciate that REST isnt a specification!)
thanks
jim