Tutorial - Bugs in tutorial code

Did no one actually try to run the tutorial? Shame.

curl — user :YOUR-PROJECT-SECRET \

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 \
-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.

Hi @nbstrong, and welcome to the Infura community! Can you please provide us a link to the tutorial you’re referencing? We have a bunch, so want to make sure we update the correct one :slight_smile:

Thanks for bringing the quotation mark discrepancies to our attention! We’ve updated the post, so it should now be copy-able.