sending data-blocks with non-POST requests
Date: Sun, 27 Jan 2002 20:46:24 -1000
I am having a problem that is preventing me from replacing our
(http_lib) with libcurl on our multi-server systems.
Our servers contact each other with various non-standard methods (eg
also contain information on the Content area of the request (like a
POST). The only way
to implement this with libcurl seems to be to use
CURLOPT_POSTFIELDS. But then when
I set the method via CURLOPT_CUSTOMREQUEST, the "POST" data does not
I have experimented with various approaches including using
curl_formadd() and trying
to send the data up through a CURLOPT_READFUNCTION. None successful.
Does anyone have any suggestions?
Received on 2002-01-28