function marketcurencylist($auth,$id)
{
$context = stream_context_create(
array("ssl"=>array(
'verify_peer'=>false,
'verify_peer_name'=>false,
),
'http' => array(
'method' => 'GET',
'header' => "Content-Type: application/json\r\n"."Authorization:".$auth."\r\n",
)
));
$response = file_get_contents(api_url().'market/allactivemarketslist', false, $context);
return $response;
}
failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error