curl --request POST \
--url https://api.example.com/api/forgot-password \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>"
}
'{
"reset_token": "<string>"
}Request a password reset token
curl --request POST \
--url https://api.example.com/api/forgot-password \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>"
}
'{
"reset_token": "<string>"
}curl -X POST http://localhost:8000/api/forgot-password \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]"
}'
{
"reset_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}