Why it needs _token : token when send data in ajax?

后端 未结 0 602
失恋的感觉
失恋的感觉 2021-01-25 10:53

First, sorry for the bad english and bad explanation, i already write ajaxsetup in script

 $.ajaxSetup({
        headers: {
            \'X-CSRF-TOKEN\': $(\'meta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题