Open SquallQL opened 3 years ago
Hi,
So I was following along the curl tutorial with curl and I got an error when doing the first call with a query param
curl: (3) bad range in URL position
Which happens because curl can't take the bracket by default, so you need to pass the -g or --globoff flag to make the call works.
-g
--globoff
To reproduce, make this call through curl:
curl 'https://trefle.io/api/v1/plants?token=YOUR_TOKEN&filter[common_name]=beach%20strawberry'
Notice the error. Then run the same command, but add the -g flag and it works!
Hi,
So I was following along the curl tutorial with curl and I got an error when doing the first call with a query param
Which happens because curl can't take the bracket by default, so you need to pass the
-g
or--globoff
flag to make the call works.To reproduce, make this call through curl:
Notice the error. Then run the same command, but add the
-g
flag and it works!