Laravel Return json cabeçalho JSON
return response()->json($array, 202,
[
'Content-Type' => 'application/json',
'Charset' => 'utf-8'
], JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
}
Shadow