419 (unknown status) send @ vendor.bundle.base.js:4 ajax @ vendor.bundle.base.js:4 message_del @ contacts:380 onclick @ contacts:341 code example
Example: HTTP call status: 419
Use this in the head section:
<meta name="csrf-token" content="{{ csrf_token() }}">
and get the csrf token in ajax:
$.ajaxSetup({
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
}
});