I am struggling to figure out why my code is returning an error that is being caused by using CSRF in an Ajax call. The error is this:
Uncaught TypeError: Cannot