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

InternalError /1.0/auth/login #13

Closed
chrisdlangton opened this issue Dec 29, 2017 · 1 comment
Closed

InternalError /1.0/auth/login #13

chrisdlangton opened this issue Dec 29, 2017 · 1 comment

Comments

@chrisdlangton
Copy link

POST /1.0/auth/login HTTP/1.1
Host: api.minergate.com
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: 0e9fc3e0-c966-f2fb-8d6d-746834825d8e

included totp
email was chrislangton84 "at" gmail "d" com

response;

{
    "code": "InternalError",
    "message": "Cannot read property 'send' of undefined"
}

should work with any other credentials if it is a code error as it appears to be;

curl -X POST \
  https://api.minergate.com/1.0/auth/login \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -d '{
  "email": "your_email@gmail.com",
  "password": "yours here",
  "totp": 123456
}'
@pgiguere1
Copy link

API 1.0 is no longer functional. You have to use 2.x which is undocumented and not meant for public use.

You may look at other issues for help with that, but honestly probably not worth the hassle. You're supposed to provide a captcha so your login process will be limited. And whatever app you build may break at any moment whenever Minergate disables older API versions without warning.

This GitHub should have been closed a while ago. It was originally made for a contest MinerGate had 2 years ago and it seems they had no interest in maintaining it after that.

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

2 participants