Django REST API Tutorial - Token Authentication and Session Authentication #3 (2018)
The Dumbfounds The Dumbfounds
13.1K subscribers
81,389 views
961

 Published On Jul 21, 2018

In this django rest api authentication tutorial, you will learn how to use TokenAuthentication and SessionAuthentication and when each approach is appropriate.

7 Tips For Getting Better At Django:
https://mailchi.mp/dea592ab3f6d/tips-...

Here you can find more information about REST API authentication:
http://www.django-rest-framework.org/...

GitHub repository link:
https://github.com/TheDumbfounds/djan...

You will start by setting up an API endpoint to gather the token for a specific username and password combination, and afterwards you will use that token to fetch data from our REST API using the httpie command-line utility.

Anyway, you can find the details in the video and feel free to ask if you have any questions!

The next part will be focused on writing automated tests for our REST API.

If you enjoyed this video, make sure to subscribe and share it with anyone you think could enjoy it as well.

I hope to see you inside of the next episode,

Cheers.

show more

Share/Embed