yfgeek / BlockVotes

An e-voting system based on blockchain using ring signature
GNU General Public License v3.0
276 stars 113 forks source link

[Chain So API] CORS policy: No 'Access-Control-Allow-Origin #16

Closed marchelhutagalung closed 4 years ago

marchelhutagalung commented 5 years ago

Access to XMLHttpRequest at 'https://chain.so/api/v2/get_tx_unspent/BTCTEST/muqFUCLSyCmLh114z4hF8sBqY6AKTjntdE' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

i found this error when api calls get chain.so

RobinJesba commented 3 years ago

https://chrome.google.com/webstore/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf?hl=en

Adding this extension worked for me!