Skip to content
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 #17

Open
AlaaMX opened this issue May 10, 2020 · 4 comments
Open

CORS Issue #17

AlaaMX opened this issue May 10, 2020 · 4 comments

Comments

@AlaaMX
Copy link

AlaaMX commented May 10, 2020

Access to fetch at 'https://api.cryptoapis.io/v1/bc/btc/testnet/address/mgA6AjT1ju2B7er3D1qEBrhmVrNeNgTnSv' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: 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.

Getting it even with providing key

@Zergity
Copy link

Zergity commented Jan 27, 2021

@AlaaMX I have the same problem, did you solve it?

@AlaaMX
Copy link
Author

AlaaMX commented Feb 12, 2021

@Zergity do not fetch from client , do it from the server side !

@Zergity
Copy link

Zergity commented Feb 13, 2021

@Zergity do not fetch from client , do it from the server side !

Right, cryptoapis blocks the client request, which is against my purpose, so I have to switch to other API. Thanks.

@AlaaMX
Copy link
Author

AlaaMX commented Feb 22, 2021

@Zergity do not fetch from client , do it from the server side !

Right, cryptoapis blocks the client request, which is against my purpose, so I have to switch to other API. Thanks.

Yes, They are doing That for Security Purposes, so you can find a lot of alternatives there, take a look at Tatum, I think they're Great, Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants