Laravel ajax solution:
1. "_token": "{{ csrf_token() }}",
2. headers: {'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')},
3.$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});