Laravel Response JSON Statut 500
return response()->json(['message' => 'error message'], 500);
Alex G'h
return response()->json(['message' => 'error message'], 500);