// $url = urlencode ("http://domain/path/to/json"); // $json = json_decode(file_get_contents($url), true); // dd($json); $url = "https://atsbopis.asuscomm.com:8446/html/stats/rest/index.php?entity=realtime"; $arrContextOptions=array( "ssl"=>array( "verify_peer"=>false, "verify_peer_name"=>false, ), ); $output = file_get_contents($url, true, stream_context_create($arrContextOptions)); $json = json_decode($output, true); dd($json);