Hello,

I need to post some data via ajax to a custom php file located in the root of my site but keep getting the following error. Do i need to add my php file inside the statamic or any other folder?

exception: "TokenMismatchException"
redirect: "http:/domain.com/cp/auth/login?expired=1&referer=%2Fmeet-the-team"
statusText: "Unauthorized"
Answered by Fishtank! Go to answer.