[Answer]-Authenticate a user on a GET API end point

1👍

Why do you pass auth details in the URL? You have a Basic Auth section in POSTMAN, where you can put you login credentials. POSTMAN will then set the correct headers for you.

Remember to set BasicAuthentication as your auth class in DRF view or settings.

Leave a comment