Hi Balaji,
Make sure you are correctly sending credentials (e.g., username and
password) to the login endpoint. Typically, the request should be something
like:
curl -X POST "https://yourapi.com/api/login/"; \
-H "Content-Type: application/json" \
-d '{"username": "username", "password":
while working inside the project I getting the error for generating the
token. the error was shown {
"detail": "Authentication credentials were not provided."
}
how to fix this error to get the token from the login api of the website
--
You received this message because you are subscribed t