Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get csrf token javascript document query selector

document.querySelector('meta[name="csrf-token"]').getAttribute('content');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #csrf #token #javascript #document #query #selector
ADD COMMENT
Topic
Name
2+6 =