cURL / Mailing Lists / curl-library / Single Mail


Using callbacks to send data in GET and custom HTTP requests

From: Marco Toldo <>
Date: Wed, 14 Apr 2010 10:05:06 +0200

Hi all,

I need to execute some GET requests containing a generated-on-the-fly
body. By looking at libcurl documentation I tried to do this with a
simple callback (basically the same used in post-callback.c example)
but resulting trace in Wireshark shows no data is sent (http header

Provided everything works perfectly when using CURLOPT_POST, is there
a way to do so with both GET and custom requests? Or is there another
way to do so?

Any help will be greatly appreciated.

List admin:
Received on 2010-04-14