Quello che vedi è il risultato di $Array.....
difatti deriva da
print_r($Array);
foreach ($Array as $row) {
echo $row['id'] . "<br>";
}
realizzo $Array da
$url = "https://api.fattureincloud.it:443/v1/preventivi/lista";
$request = array("api_uid" => "137096", "api_key" => "ec4c2f24a694d150befa6d67153cbc49","anno"=> 2018 );
$options = array(
"http" => array(
"header" => "Content-type: text/json\r\n",
"method" => "POST",
"content" => json_encode($request)
),
);
$context = stream_context_create($options);
$Array = json_decode(file_get_contents($url, false, $context), true);