Search code examples
djangopostgoogle-chrome-extensioncsrfdjango-csrf

Acquire CSRF token for chrome extension from django


I want to use a POST request to send data from chrome extension to a Django app. However, I'm getting a 403 Forbidden error. How do I acquire the CSRF token from Django to send as a header along with the chrome extension?


Solution

  • go to inspect element storage cookies

    enter image description here