cURL / Mailing Lists / curl-users / Single Mail

curl-users

cURL form post problem?

From: William West <hartwest_at_yahoo.com>
Date: Tue, 30 Nov 2004 05:39:39 -0800 (PST)

I can not get either of the following cURL commands to return the correct
output.

curl -d "SearchTerm=Roshanak%20Semnani"
http://ned.nih.gov/view_search_results.asp
   OR
curl -F "SearchTerm=Roshanak%20Semnani"
http://ned.nih.gov/view_search_results.asp

Is there something unusual about the way this form was created that is
preventing cURL from working properly?

The cURL version I am using is:
curl 7.12.1 (sparc-sun-solaris2.9) libcurl/7.12.1 OpenSSL/0.9.7e
zlib/1.2.1
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: IPv6 Largefile NTLM SSL libz

The web browser start page is http://ned.nih.gov/. When I enter "Roshanak
Semnani" in the search field, I get 1 record.

Any information/insight you can provide would be greatly appreciated.

Thanks,
William West
hartwest_at_yahoo.com

                
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
 
Received on 2004-11-30