hgfff

[jsoncontentimporter url=https://www.radiolimburgia.eu/wp-content/plugins/json-content-importer/json/gutenbergblockexample1.json debugmode=10 basenode=level1]{start}
{subloop-array:level2:-1}{level2.key}
{subloop:level2.data:-1}id: {level2.data.id}
{/subloop:level2.data}{/subloop-array:level2}[/jsoncontentimporter]/$url = “https://s2.ssl-stream.com/api/nowplaying/30.json”;
//$data = file_get_contents($url);
//$infos = json_decode($data, true);
//$nazwa = $infos->cache;
//echo $nazwa;
function jwt_request($token, $post) {
$ch = curl_init(‘https://s2.ssl-stream.com/api/nowplaying/30’);
header(‘Content-Type: application/json’);
$post = json_encode($post);
$authorization = “Authorization: Bearer “.$token;
curl_setopt($ch, CURLOPT_HTTPHEADER, array(‘Content-Type: application/json’ , $authorization ));
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “POST”);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS,$post);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$result = curl_exec($ch);
curl_close($ch);
return json_decode($result, true);
}
echo $result->cache;

error: Content is protected !!