4 ms·
I see this a lot as an anti CSRF technique in AJAX based SPAs.
by airza 6y ago
I see this a lot as an anti CSRF technique in AJAX based SPAs.
- bluesmoon 6y agoyeah, those techniques predate CORS, but even back then, you'd typically add your anti-csrf token to the payload rather than the header. CSRF is application level logic rather than protocol level.