Welcome Guest, Not a member yet? Register   Sign In
403 error in AJAX to Controller
#4

Hi,

as said @mintwint you must have the CSRF enabled. In your code ajax replaces the method POST by GET and if it works it is the CSRF which has the cause. In this case, add the CSRF name and hash in the data string.
Reply


Messages In This Thread
RE: 403 error in AJAX to Controller - by ciadmin - 10-27-2019, 07:12 AM
RE: 403 error in AJAX to Controller - by mintwint - 10-27-2019, 07:22 AM
RE: 403 error in AJAX to Controller - by ecampait - 10-27-2019, 07:55 AM
RE: 403 error in AJAX to Controller - by InsiteFX - 10-28-2019, 03:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB