.

$Login = 0; #Must be Changed $apiPassword = "password"; #Must be Changed $data = array("Login" => $Login, "Password" => $apiPassword); $data_string = json_encode($data); $ch = curl_init('http://client-api.instaforex.com/api/Authentication/RequestPartnerApiToken'); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POSTFIELDS, $data_string); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json', 'Content-Length: ' . strlen($data_string))); $token = curl_exec($ch); curl_close($ch); $apiMethodUrl = 'partner/GetOperationRecords/'; #possibly Must be Changed $parameters = $Login; #possibly Must be Changed. Depends on the method param $ch = curl_init('http://client-api.instaforex.com/'.$apiMethodUrl.$parameters); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, false); # Turn it ON to get result to the variable curl_setopt($ch, CURLOPT_HTTPHEADER, array('passkey: '.$token)); $result = curl_exec($ch); curl_close($ch); echo $result;

Monday, August 21, 2017

Up a blind alley

Used to control and command Prophesied "last rites/loved to death" my friends And beg salvation from the empty skies But dammit, this well's gone dry Led rats through the streets I like the way that your stomach knots Not for the money, not for the fame Don't you give me any orders And beg salvation from the empty skies Led rats through the streets Led rats through the streets Entering a near You'll grow to loathe my name

No comments:

Post a Comment

bbscoin backup

Address: fyS4dDZgvrqHkMD7rtBGVYZDovK9nw9sxP8aujB9mEea3ttF4dAogD4UP4RC6nGDqLDgCgfW8rsxGB9wWUcwmgMC12x635aCP View Secret: omit push coast ...