Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

csrf is not detected using sendbeacon django

var data = new FormData();        
data.append('csrfmiddlewaretoken', '{{csrf_token}}');
navigator.sendBeacon('endpoint/',data)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #csrf #detected #sendbeacon #django
ADD COMMENT
Topic
Name
1+9 =