curl-users
Query string not working using cURL
Date: Wed, 28 Apr 2010 19:58:29 -0500
I've read the cURL tutorial (http://curl.haxx.se/docs/httpscripting.html)
When I navigate to the following in a browser:
I get the results back that I expect.
When I type the below in the terminal window from my computer running Ubuntu
Desktop 9.10:
curl -d
"do=y&ft=rt&ns=y&cb=e&pa=1&l1=MSP&t1=e&df=us1&d1=05/20/2010&l2=PHX&t2=e&d2=05/23/2010&b=US"
http://www.kayak.com/s/search/air
I get the following back (garbage):
The above cURL command line format that I tried above is thoroughly
explained in section *4.2 Post* of the CURL tutorial.
I strongly suspect that I am doing something wrong, but I couldn't find it
in the tutorial or by Googling it.
As a note - curl from the command line works just fine when using
yahoo.comfor example.
Is there anyone experienced in this matter?
Any help would be greatly appreciated.
Thanks,
Scott
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-29