Mintbase/mintbase-js

Binance API Fetch Request Errors

Markeljan opened this issue · 0 comments

Issues with fetch either on dev or from banned regions

Access to fetch at 'https://api.binance.com/api/v3/ticker/price?symbol=NEARUSDT' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.Understand this error VM5305:1

GET https://api.binance.com/api/v3/ticker/price?symbol=NEARUSDT net::ERR_FAILED 451 (Unavailable For Legal Reasons)