Allow only web app and android app to use the Rest API

28 views
Skip to first unread message

Ashwin Kumar Sariwal

unread,
Nov 30, 2020, 6:38:58 AM11/30/20
to Django REST framework
How can I allow only my web app and android app to use the rest API and not other web apps?
I have created a Rest API in the same project in which my web app is there and I want that web app to use that Rest API, and other web apps or any third person should not able to request data from that API!

Thank You
Regards
-Ashwin

Michael Goffioul

unread,
Nov 30, 2020, 6:54:12 AM11/30/20
to django-res...@googlegroups.com
One way is to use authentication.

--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-fram...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/22867083-3a5b-45f9-80ff-0d2404c7a67cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages