API responses
Coro uses HTTP Status codes to convey the status of a request, together with a response body containing the details of the API's response to the request. This might be a list of requested data items, a data structure representing the successful creation of a resource object, or the error details if something went wrong.
A successful request is typically identified by a 200 OK response code.
If the REST server is unable to handle a HTTP request, it returns a response with an appropriate non-200 HTTP error code. The response body is in JSON and contains a data structure describing the error.