Auth
Login Feature
Changed onLog into the Platform
post/auth/login
Request
- Base URL: http://localhost:8080/api/v1
- URL: http://localhost:8080/api/v1/auth/login
- Auth: none declared
Request body
Example request
{
"email": "dr.doolittle@zoolittle.com",
"password": "IlikeMYanimalsLITTLE@34",
"remember_me": true
}Response
User logged in successfully.
Example response
{
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"token_type": "bearer",
"expires_in": 3600,
"refresh_token": "67z4xav34h37",
"user": {
"id": "f20e5948-01ba-4113-b453-db05d8bde3bc"
}
}Changes
- ○
added the required property
to the response with the status
- ○
- ▲
added the new required request property
- ○
the response property
became required for the status - ○
the response property
became required for the status - ○
the response property
became required for the status - ○
the response property
became required for the status - ○
the response property
became required for the status
- ▲