I'm implementing token authentication via DRF(Django-rest-framework). So far I've understood that in token authentication you exchange your credential with a token which server had had already generated for every user. Then you put that token in every request header to the API, without worrying about the cookies.
Now I know how to generate token and write to view to authenticate and issue token. However, I haven't figured out how to put token in the http header, which I suppose need to be done in front-end.
I tried to search but there doesn't seems to a clear answer on the internet how to do it.