self.GetApiEndpoint doesn't work
In the self.GetApiEndpoint function (poke.io.js) the req variable :
var req = [new RequestEnvelop.Requests(2), new RequestEnvelop.Requests(126), new RequestEnvelop.Requests(4), new RequestEnvelop.Requests(129), new RequestEnvelop.Requests(5)];
sends:
{ type: 2, message: null },
{ type: 126, message: null },
{ type: 4, message: null },
{ type: 129, message: null },
{ type: 5, message: null } ]
I'm having the same issue, not sure why, it works on my machine but not on an AWS host.
So that request actually looks ok, comparing to the one sent from my laptop which is working.
But i found that Niantec is sending this back as the body response:
`
403 Forbidden
Are you using AWS by any chance? could be that they banned their IPs
https://www.reddit.com/r/TheSilphRoad/comments/4vjv1j/ive_figured_out_what_niantics_plan_is_with_the/d5zh65t
I use codeAnywhere, i thinks it's all cloud IDE. (https://github.com/Armax/Pokemon-GO-node-api/issues/188)