cURL / Mailing Lists / curl-library / Single Mail

curl-library

CURLOPT_POSTFIELDS with HTTP GET instead of HTTP POST

From: Matthew Marcella <mattmarcella_at_passur.com>
Date: Mon, 01 Jul 2002 19:47:05 -0400

I would like to send an HTTP GET request with form data.
Example

http://someserver/cgi-bin/test?fieldname=value

I am using curl_easy_setopt(curl_handle, CURLOPT_POSTFIELDS, postfields)
but it makes an HTTP POST request. How do I force a HTTP GET?

Thanks,
Matt

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-07-02