HTTP status codes used by Giosg
HTTP status codes used by Giosg¶
Giosg rest API uses standard HTTP codes for successful and failed requests. There might be explicitly defined response codes at the API endpoint's own section in API reference.
Successful requests¶
Possible response codes for successful requests are:
HTTP status code | Description |
---|---|
200 OK |
The request was successful. |
201 Created |
The request successfully created new resource, normal response of succesful POST request. |
204 No Content |
The request successfully returned no content, normal response of successful DELETE request. |
Failed requests¶
Possible response codes for failed requests are:
HTTP status code | Description |
---|---|
400 Bad Request |
The request is missing attributes, request attributes cannot be parsed, or the request is invalid. |
401 Unauthorized |
The request cannot be processed because the authentication credentials were invalid or not provided. |
403 Forbidden |
The request cannot be processed because:
|
404 Not Found |
The requested resource could not be found. |
405 Method Not Allowed |
The request cannot be processed because the endpoint does not support the used request method. |