0
Q:

laravel csrf token ajax post

$.ajaxSetup({
    headers: {
        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
    }
});
5
<meta name="csrf-token" content="{{ csrf_token() }}" />
2

New to Communities?

Join the community