Skip to content
Prof. Leon Blog
Main Navigation
Home
About
Content
Desenvolvimento Web
Virtualização
Sistemas Distribuídos
APIs e Microsserviços
LaTeX
Appearance
Menu
Return to top
Login
POST
/auth/login
Valida as credenciais e retorna um token JWT. Endpoint público.
Request Body
application/json
Schema
JSON
JSON
{
"email"
:
"ana@exemplo.com"
,
"senha"
:
"senhaForte123"
}
Responses
200
401
Login bem-sucedido
Content-Type
application/json
Schema
JSON
JSON
{
"token"
:
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
POST
/auth/login
Playground
Server
Select a server...
Body
Try it out
Samples
Powered by
VitePress OpenAPI