Your jQuery code has syntax error in success
callback, that's why its not making any post
request to Laravel, please try below javascript it will work
In Laravel , you can just return array
or object
and it will automatically convert it to json
response
return ['success' => true, 'data' => $data];