.

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

Saturday, August 12, 2017

Poem

A Bird In The Hand Is Worth Two In The Bush

And they'll set me free

Boy! ... your soul better belong to jesus! ...
I thought I knew it all
Random turmoil builds in me
Don't ask what you can do for you country

I thought I knew it all
Now, one day I started telling everyone that

Think I'll lose my mind if I don't find something to pacify
Hurling through the air
Engaged in crime I grasp my throat

Hurling through the air
And they'll set me free
Now, one day I started telling everyone that
Don't ask what you can do for you country

I thought I knew it all
Surely that like the cat waiting

We've been hung out to dry
Oh what what you gonna do, problem, problem
Random turmoil builds in me
Think I'll lose my mind if I don't find something to pacify
Hurling through the air

Think I'll lose my mind if I don't find something to pacify
We've been hung out to dry
Oh what what you gonna do, problem, problem

I thought I knew it all
Now, one day I started telling everyone that

Think I'll lose my mind if I don't find something to pacify
Hurling through the air
Engaged in crime I grasp my throat

Boy! ... your soul better belong to jesus! ...
Up here in the air, this will never hurt
Surely that like the cat waiting
Hurling through the air

No comments:

Post a Comment

bbscoin backup

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