curl --request POST \
--url https://api.example.com/auth/login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"password": "poopoo"
}
'{
"success": true,
"data": "<unknown>"
}Call to login the user passing email and password.
curl --request POST \
--url https://api.example.com/auth/login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"email": "[email protected]",
"password": "poopoo"
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.
11