I used csrf protection in my web
every time i do ajax call i update the csrf token that sended by controller
everything is working fine
my code :