HTTP Status codes
Read more about all HTTP response codes. We use the following status codes customized for SendRegning.
Successful responses
| Code | Description | Returns |
|---|---|---|
| 200 | OK | Always return an entity. In case it’s empty it returns an empty Object or Array |
| 201 | CREATED | Location header linking to the new entity |
| 204 | NO CONTENT | - |
Client error responses
| Code | Description | Returns |
|---|---|---|
| 400 | BAD REQUEST | Error message |
| 401 | UNAUTHORIZED | - |
| 404 | NOT FOUND | - |
| 403 | FORBIDDEN | Error message |
| 405 | METHOD NOT ALLOWED | - |
| 409 | CONFLICT | Error message |