I am looking at the infura documentation and no matter what method I am trying to authenticate my project id I am getting errors such as the one displayed below or 404 errors. Has anyone had the same issue and found a solution? I am trying to connect to the eth mainnet.
(venv) C:\Users\name\PycharmProjects\UniswapQuery>curl --user :https://mainnet.infura.io/v3/[my project id]
curl: no URL specified!
curl: try 'curl --help' for more information
This is the python code that refers to the infura network:
infura_url = 'https://mainnet.infura.io/v3/[my project id]'
web3 = Web3(Web3.HTTPProvider(infura_url))