Did no one actually try to run the tutorial? Shame.
curl — user :YOUR-PROJECT-SECRET \
https://<network>.infura.io/v3/YOUR-PROJECT-ID
Needs double dash –
(Your site seems to display dash dash as dash though so you likely have a deeper problem here)
curl https://mainnet.infura.io/v3/YOUR-PROJECT-ID \
-X POST \
-H “Content-Type: application/json” \
-d ‘{“jsonrpc”:”2.0",”method”:”eth_blockNumber”,”params”: [],”id”:1}
The double quotes used for 2.0 are different. " and ”. Needs another single quote ’ at the end. I have to replace all your quotes to get the command to work.