Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api login problem help me #3

Open
rnpeh opened this issue Mar 8, 2017 · 4 comments
Open

api login problem help me #3

rnpeh opened this issue Mar 8, 2017 · 4 comments

Comments

@rnpeh
Copy link

rnpeh commented Mar 8, 2017

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
Copy link

Ayagami commented Apr 13, 2017

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

@ToeFungi
Copy link

Bump

@ToeFungi
Copy link

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

@blooalien
Copy link

@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. 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants