Hello. I’m a beginner here. I have created my API and it doesn’t work. I used the common command in my terminal like
curl --url https://mainnet.infura.io/v3/xxxxx -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
but it returns
curl: (35) schannel: failed to receive handshake, SSL/TLS connection failed
I also tried some code in node.js and it returned
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.3)
I also registered an Alchemy API,and it works fine with this. But Alchemy doesn’t seem to have enough network I planned to use, so I still prefer Infura. How could I be able solve the connection problem ?