Auth
Realiza a autenticação do usuário
Changed onpost/api/Auth/login
Request
- Base URLhttps://api.ordemenfermeiros.pt (the document declares no server; this is the origin it was published from)
- URLhttps://api.ordemenfermeiros.pt/api/Auth/login
- Authnone declared
Request body
Example request
{
"username": "joao.silva",
"password": "passew0r@"
}Response
Login realizado com sucesso
Example response
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
JWTwas removed from the API
- info