-
Notifications
You must be signed in to change notification settings - Fork 767
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
CORS issue #52
Comments
No API's currently support being used in the browser or plugins. Sorry |
Thanks, I ended up having to setup node express and call that instead. Bit painful to get the same data have to maintain another server.
Thanks for the api, its very helpful.
…Sent from my iPhone
On Jan 11, 2018, at 8:52 PM, Jon Eyrick ***@***.***> wrote:
Closed #52.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
jaggedsoft
pushed a commit
that referenced
this issue
Jan 19, 2018
Fixed error handling on cancelOrders
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting:
Failed to load https://api.binance.com/api/v1/ticker/allPrices: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8100' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
When trying to use the API withing angular2 service.
this.binance.binance.prices(function(ticker){
console.log("prices()", ticker);
console.log("Price of BNB: ", ticker.BNBBTC);
});
Please suggest. Thanks
The text was updated successfully, but these errors were encountered: