Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
API Internet Banking - BANESTES
Manage
Activity
Members
Plan
Wiki
Deploy
Container registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DetranNet APIs
API Internet Banking - BANESTES
Wiki
End Points
Changes
Page history
New page
Templates
Clone repository
Update End Points
authored
1 year ago
by
Augusto Barbosa Layber
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
End-Points.md
+11
-2
11 additions, 2 deletions
End-Points.md
with
11 additions
and
2 deletions
End-Points.md
View page @
b2029d2c
...
...
@@ -43,5 +43,14 @@ curl -X 'GET' \
"LicenciamentoExercicio"
]
### Tratamento de Erro
```
markdown
# Tratamento de Erros
Nossa API retorna códigos de status HTTP para indicar o sucesso ou falha de uma requisição.
-
`401 Unauthorized`
- Falha na autenticação.
-
`403 Forbidden`
- Sem permissão
-
`404 Not Found`
- O recurso solicitado não foi encontrado.
-
`422 Unprocessable Entity`
- Erro de validação.
-
`500 Internal Server Error`
- Erro no servidor.
-
`502 Bad Gateway`
- Erro de proxy
-
`503 Service Unavailable`
- Servidor não está pronto para requisição
This diff is collapsed.
Click to expand it.