A API precisa retornar os códigos HTTP corretos para cada request.
Código | Erro | Descrição |
---|---|---|
200 | OK |
Success. |
400 | Bad Request |
The request has parameter(s) invalid(s). |
401 | Unauthorized |
The access token was not informed or do not have access APIs. |
404 | Not Found |
The appeal stated in the request was not found. |
413 | Request is to Large |
The request is exceeding the limit allowed for the profile of your access token. |
422 | Unprocessable Entity |
The request has business mistakes. |
429 | Too Many Requests |
The consumer burst limit requests for time. |
500 | Internal Server Error |
Unexpected error, something is broken in the API. |