AJAX CSRF Token Laravel
data: {
"_token": "{{ csrf_token() }}",
"id": id
}
Brave Butterfly
data: {
"_token": "{{ csrf_token() }}",
"id": id
}
{{ csrf_token() }}
{{ csrf_field() }}
<form method="POST" action="/profile">
@csrf
<input name="name">
<button type="submit">send</button>
</form>
data: {
'_token' : '{{csrf_token()}}',
'contactNo': '016********',
},