MinerGate / minergate-api

GNU General Public License v3.0
50 stars 31 forks source link

api login problem help me #3

Open rnpeh opened 7 years ago

rnpeh commented 7 years ago

my code

`<?php $data = array( "email" => "xxxxx@xxx.com", "password" => "xxxxxx" ); $data_json = json_encode($data); $url = "https://api.minergate.com/1.0/auth/login";

$curl = curl_init($url);
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($curl, CURLOPT_POSTFIELDS, $data_json);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_HTTPHEADER, array(
    'Content-Type: application/json')
);
$result = curl_exec($curl);
curl_close($curl);
echo $result ;

?> ` output data has been {"code":"InternalError","message":"Cannot read property 'send' of undefined"}

help me plz...

Ayagami commented 7 years ago

They never answered... Still having the same problem!

ToeFungi commented 7 years ago

Bump

ToeFungi commented 7 years ago

@rnpeh @Ayagami @MinerGate The admin of this repo seems to be fairly inactive. I found a temporary workaround in #8

blooalien commented 7 years ago

@ToeFungi "The admin of this repo seems to be fairly inactive." ← The admin of this repo seems to have abandoned the API entirely as far as I can tell. Wasted my time with this API. :disappointed: