.

$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;

Tuesday, August 15, 2017

A Leopard Can't Change His Spots

Am I a weak man, are you feeling strong? Love and war they say all is fair Engaged in crime I grasp my throat One man rules the earth Push, push, push me to a breakpoint Am I a weak man, are you feeling strong? Remember that you said Deliver to the light. Chalklines and red puddles of those who have been slain Am I a weak man, are you feeling strong? Next mistake...no more mistakes! That I cannot explain Chalklines and red puddles of those who have been slain His nightmare unfolds Am I a weak man, are you feeling strong? Next mistake...no more mistakes! God have mercy! Engaged in crime I grasp my throat His nightmare unfolds If I die before I wake Some people risk to employ me Some people risk to employ me Push, push, push me to a breakpoint One man rules the earth That I cannot explain Some people risk to employ me

No comments:

Post a Comment

bbscoin backup

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