I'm trying to get an external JSON file via PHP. I'm doing it this way:
<?php
$json_file = file_get_contents(
"http://www.moonwalk.com.br/api/VitrineDeProdutos/58e903df295cbc5c4639434d4c35090d");
$json_str = json_decode($json_file, true);
$itens = $json_str->nodes;
foreach ( $itens as $e )
{ echo "$e->title<br>"; }
?>
But I'm not getting any results.
The external JSON files are at this address .
Am I doing something wrong?