curl --request POST \
--url https://api.comm.com/api/v1/token/login \
--header 'Content-Type: application/json' \
--data '{
"email": "jsmith@example.com",
"password": "<string>",
"remember": true
}'
{
"access_token": "<string>",
"token_type": "bearer",
"expires_in": "<string>"
}
curl --request POST \
--url https://api.comm.com/api/v1/token/login \
--header 'Content-Type: application/json' \
--data '{
"email": "jsmith@example.com",
"password": "<string>",
"remember": true
}'
{
"access_token": "<string>",
"token_type": "bearer",
"expires_in": "<string>"
}
The response is of type object
.