I follow the tutorial in “Getting Started With Infura”
and failed in step2 like:
Hey @smartcontractsyz, and welcome to the Infura community!
To properly execute a curl
command, you need to attach a method (step 5 in the tutorial). Let us know if you run into any other issues!
I’ve tried step 5 in the tutorial and got this response:
{“jsonrpc”:“2.0”,“error”:{“code”:-32600,“message”:“invalid json request”}}curl: (3) [globbing] bad range specification in column 2
Hey @ivankragoff, and welcome to the Infura community!
It looks like you’re getting an error with [globbing]
. There are a couple of ways you can try to fix this.
\
before each bracket. Since globbing uses brackets, you need to escape the with the slash.--globoff
or -g
in your curl request (ex: curl --globoff https://www.google.com?test[]=1
)Let us know if those worked!