node-real / megafuel-client-example

This is a Js script to send Ethereum transactions with 0 gas price through Meganode Paymaster.
3 stars 1 forks source link

Cannot call RPC requests in Web app , cause the RPC node has disabled http OPTIONS method #4

Open EF09FE opened 1 month ago

EF09FE commented 1 month ago

image

We run a web app in browser to connect Megafuel RPC node(https://bsc-megafuel.nodereal.io/), it will throw this errors side CORS error as above.

Root cause is the RPC node has disabled http OPTIONS method requests image

Any reason make it to disable http OPTIONS methods? or is there any other ways to requests in Browser environment?

clydemeng commented 1 month ago

It is fixed. Please try it again?