cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to pass custom data on top of HTTP GET

From: amit paliwal <amit.ambitions_at_gmail.com>
Date: Tue, 28 Dec 2010 16:54:24 -0500

Hi,

I want to pass additional custom data on top of HTTP GET to the HTTP Server,
which means I need to build HTTP GET message including the payload and send
it to HTTP Server by saying curl_easy_perform().

Do I need to use CURLOPT_READFUNCTION option and maintain one callback
function where i can append my custom data? But then how will the library
call my custom payload and send it on top of HTTP GET.

Thanks in advance.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-28