Respons API di Json Laravel

return response()->json($array);
MaestroError