User (Login)
/api/v1/users/login/
Endpoint
/api/v1/users/login/
Headers
{
"Content-Type": "application/json"
}
Body
{
"username": "<str:username>",
"password": "<str:password>"
}
Response
{
"status": "success",
"message": "Logged in successfully",
"token": "<str:token>"
}