Today I worked on token authentication for my Backend.Now my frontend would need a username and password to create a token which would be stored in localstorage for every subsequent request made to my django backend

Token would be sent to backend like this;

“Token /auth_token/”

This post is also available on DEV.