Re: Introduction & Contribution Interest – Django

2025-02-13 Thread BALAJI V
Hi, I'm new to Django. When I try to generate a login token, I receive these errors: json CopyEdit {"detail": "Authentication credentials were not provided."} {"error_short": "Module is not Assigned", "status": "failed"} Any help resolving these issues would be appreciated. Thanks! On Saturda

Hi everyone I am the beginner django back end developer.

2025-02-13 Thread Balaji V
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

Re: Hi everyone I am the beginner django back end developer.

2025-02-13 Thread Miky Rola
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":