curl --request POST \
--url http://localhost:8091/api/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"data": {
"token": "<string>"
}
}Authenticates a user with email and password. Returns a session token for use as a Bearer token.
curl --request POST \
--url http://localhost:8091/api/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "jsmith@example.com",
"password": "<string>"
}
'{
"data": {
"token": "<string>"
}
}