Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Can't make HTTP calls #6

Open
amaury1093 opened this issue Jun 14, 2018 · 0 comments
Open

Can't make HTTP calls #6

amaury1093 opened this issue Jun 14, 2018 · 0 comments

Comments

@amaury1093
Copy link
Contributor

amaury1093 commented Jun 14, 2018

  • web3.eth.coinbase() will make an HTTP call from the dapp to the node (bypassing the shell)
  • api.eth.coinbase() will make a call to the shell then to the node via ws

The 2nd one works, the 1st one not

Error: Invalid JSON RPC response: "Origin of the request is not whitelisted. CORS headers would not be sent and any side-effects were cancelled as well.\n"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant