How to pass CSRF token with ajax request? Get link Facebook X Pinterest Email Other Apps - October 15, 2021 In between head, tag put and in Ajax, we have to add $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); Get link Facebook X Pinterest Email Other Apps