Can you make a screenshot? I don't understand if the payload is an object or a "result".
it's pretty basic
$.ajax({
dataType: 'json',
url: "{{ url('/') }}",
data: {
_token: $('input[name=_token]').val()
},
success: function (data){
console.log(data);
},
)};
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community