API de Autenticação¶
Caminho base: /auth
Registro¶
POST /auth/register
Content-Type: application/json
{
"email": "user@example.com",
"password": "password123",
"name": "Alice"
}
Resposta
Login¶
POST /auth/login
Content-Type: application/json
{
"email": "user@example.com",
"password": "password123"
}
Atualizar Token¶
Obter Usuário Atual¶
Resposta