cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-php mailing list Archives

Need to POST with additional headers and content-type/length

From: Paul Slootweg <prslootweg_at_hotmail.com>
Date: Fri, 10 Jan 2003 15:32:35 +0000

I'm trying to POST to a HTTPS server and the request requires additional
headers and specific content-type/length values.
The data to POST is in a variable. and I'm using CURL_RETURNTRANSFER = 1 to
get the response data.

By using the 'feature' of CURL_CUSTOMREQUEST, I can achieve this, but I'm
not happy that this is a robust solution.

What is the right way of doing this?

Regards,

Paul

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Received on 2003-01-10

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET