I have a problem with private queries on
bitcurrex.comCode till now:
$url = 'https://pln.bitcurex.com/api/0/getFunds';
$data = array('Rest-Key' => '##################', 'Rest-Sign' => '################', 'nonce' => time() * 1000000);
$options = array(
'http' => array(
'header' => "Content-type: application/x-www-form-urlencoded\r\n",
'method' => 'POST',
'content' => http_build_query($data),
),
);
$context = stream_context_create($options);
$result = file_get_contents($url, false, $context);
var_dump($result);
result:
{"error":"Must be logged in"}
anyone done this before? or maybe someone have a sample code for it?
Ty for your help