Changes

stoney core: REST API

337 bytes added, 09:27, 14 November 2013
/* Error codes and responses */
|}
Additionally the service returns a descriptive error objects object in case a HTTP error was returned (4xx) within the message body of the response. An error object consists of an error code and a human readable error message:, with further detailed error messages if applicable.
<source lang='javascript'>
{ "errorserror":{ [ "code": 123, "message": "Validation failed" "details" : [ { "code": 1235432, "field" : "firstName", "message" : "First name cannot be longer than 35 characters" }, { "code" : 5123, "field" : "password", "message": "downPassword cannot be blank" } ] }
}
</source>
SLB
385
edits