cURL / Mailing Lists / curl-library / Single Mail

curl-library

Newbie question about POST command using libcurl

From: Howard <howard_at_renci.org>
Date: Fri, 13 Apr 2012 10:33:14 -0400

Hi all

I hope this is the correct list for this question. If not, please let
me know which mailing list to use.

I am using the c language libcurl API and I am trying to generate a POST
header that looks like:

POST /cmd/put HTTP/1.1

So far I've not been able to figure out how to customize the POST header
to add the "/cmd/put". I've tried using CURLOPT_POSTFIELDS, but that
didn't seem to help.

Any suggestions?

Thanks much
Howard

-- 
Howard Lander <mailto:howard_at_renci.org>
Senior Research Software Developer
Renaissance Computing Institute (RENCI) <http://www.renci.org>
The University of North Carolina at Chapel Hill
Duke University
North Carolina State University
100 Europa Drive
Suite 540
Chapel Hill, NC 27517
919-445-9651

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-13