如何解决区块链中的这个错误 PHP
How to solve this error in blockchain and PHP
对“https://chain.so/api/get_address_balance/BTCTEST/undefined' from origin 'http://localhost”处的 XMLHttpRequest 的访问已被 CORS 策略阻止:请求的资源上不存在 'Access-Control-Allow-Origin' header。
如果您遇到 CORS Origin 问题,那么您可以使用这个包
https://github.com/barryvdh/laravel-cors
对“https://chain.so/api/get_address_balance/BTCTEST/undefined' from origin 'http://localhost”处的 XMLHttpRequest 的访问已被 CORS 策略阻止:请求的资源上不存在 'Access-Control-Allow-Origin' header。
如果您遇到 CORS Origin 问题,那么您可以使用这个包
https://github.com/barryvdh/laravel-cors