The fact is that in response I get the headers and json himself. It looks like this
return response()->json([ 'somedata' => 1 ]);
In js so
$.get('/page', function(data) { console.log(data) });
Result:
HTTP/1.0 200 OK Cache-Control: no-cache Content-Type: application/json {"somedata":"1"}
Accordingly, js cannot parse this. It was not possible to google. Yes, and it seems that before this behavior was not observed.