curl-users
How must I use the -G option?
From: Oriol Magrané <omagrane_at_anthill.es>
Date: Tue, 18 Jun 2002 19:47:39 +0200
Date: Tue, 18 Jun 2002 19:47:39 +0200
Hi!
I don't know how can I fetch an URL by GET method with curl's -G option.
i.e. I type this:
curl -d "q=hello" -G "http://www.google.com"
and it says me "You can only select one HTTP request!"
So... can anybody tell me what I'm doing wrong? Isn't it the right
syntax for doing a GET request?
Thank you!
Oriol
----------------------------------------------------------------------------
Bringing you mounds of caffeinated joy
>>> http://thinkgeek.com/sf <<<
Received on 2002-06-18