BitMEX-nodejs icon indicating copy to clipboard operation
BitMEX-nodejs copied to clipboard

polyfills.js:3 GET https://testnet.bitmex.com/api/v1/stats 403 ()

Open tanzeelrana opened this issue 7 years ago • 4 comments

screenshot from 2018-08-28 01-26-09

tanzeelrana avatar Aug 28 '18 05:08 tanzeelrana

API_KEY = "ac7WGCl9AsNgzRdF0EEf53Ru" API_SECRET = "lseDI6nEL8yQ-DKKa22lwt7zBZIX7Ifcin3NxWq4YsRPKnfS"

in case u want to test my keys

tanzeelrana avatar Aug 28 '18 05:08 tanzeelrana

Also to mention I am in localhost. Could that be the reason ? and if so how do I test during development ?

tanzeelrana avatar Aug 28 '18 05:08 tanzeelrana

This package was developed to run under node.js, not inside a browser. Probably some of the polyfills are not fully compatible. If you really need it to run it on a browser I may do further debuging

IlanFrumer avatar Aug 28 '18 10:08 IlanFrumer

@IlanFrumer That would be really helpful as this would allow for this to be utilized in hybrid apps :)

tanzeelrana avatar Aug 28 '18 19:08 tanzeelrana