Answers for "meta[name="csrf-token"]"

0

meta[name="csrf-token"]

<meta name="csrf-token" content="{{ csrf_token() }}">

$.ajaxSetup({
    headers: {
        'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
    }
});
Posted by: Guest on June-14-2021

Code answers related to "meta[name="csrf-token"]"

Browse Popular Code Answers by Language