View Single Post
Old 12-21-2007, 06:35 PM   #1
ajnorth
Member
ajnorth has a complete set of Star Wars action figures.ajnorth has a complete set of Star Wars action figures.ajnorth has a complete set of Star Wars action figures.
 
Posts: 17
Karma: 280
Join Date: Dec 2007
Device: iLiad
wget doesn't work with application/x-www-form-urlencoded queries

Hi

I can't seem to use URL encoded queries with wget
i.e. when I try "wget http://finance.yahoo.com/q?s=msft" I get an "Invalid argument" error.

I also tried a POST using the -h headers option to pass the arguments but couldn't get that working either - not sure if all web servers accept POST as an alternative for URL encoded queries.

Any advice?

Thanks
Angus
ajnorth is offline   Reply With Quote