in HTML <head></head> add <meta name="csrf-token" content="{{ csrf_token() }}" /> then <script type="text/javascript"> $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); </script>