Users
User login
Changed onpost/login
Request
- Base URLhttps://api.ofdb.io/v0
- URLhttps://api.ofdb.io/v0/login
- Authnone declared
Request body
Example request
{
"email": "john.smith@example.com"
}Response
Successful response - the JWT token
Example response
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJtYWdudXMuaGVyb2xkQHNsb3d0ZWMuZGUiLCJleHAiOjE2MDY4MjIyMTZ9.3lO245XVvqZ16FuKfBtHP7ybSsZZTng6HmPIKK6UBLI"
}Changes
- breaking
the request's body type changed from
objectto no type
- breaking
- info
added the media type
application/jsonfor the response with the status
- info