Timeline for CSRF token is null or empty in craft 2
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 4, 2019 at 22:01 | comment | added | Lindsey D | Hmm, not sure why you'd still be getting a 400. I'd recommend popping over to Craft Discord, where it'll be easier to discuss the issue in greater detail. | |
Mar 4, 2019 at 16:47 | comment | added | WTFranklin | Hey thank you so much, I was able to get the token name and value now. I'm still getting the 400 error even after adding this to the array I'm passing in the ajax request. I'm adding it like this: data[window.csrfTokenName] = window.csrfTokenValue; | |
Mar 2, 2019 at 0:45 | history | answered | Lindsey D | CC BY-SA 4.0 |