简体   繁体   中英

How to solve this error in blockchain and PHP

从' http:// localhost '访问' https://chain.so/api/get_address_balance/BTCTEST/undefined '的XMLHttpRequest已被CORS策略阻止:没有'Access-Control-Allow-Origin'标题存在在请求的资源上。

如果您正面临CORS Origin问题,那么您可以使用此软件包

https://github.com/barryvdh/laravel-cors

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM