cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL custom POST commands

From: Aaron Meriwether <me_at_ameriwether.com>
Date: Mon, 20 Jul 2015 18:18:23 -0600

> On Jul 20, 2015, at 9:57 AM, Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch> wrote:
>
> Fitzgerald, Kevin wrote:
>> Thanks for this, but it looks like a command line request. What I need
>> to do is send my POST within a C program in a UNIX environment.
>
> If you add "--libcurl skeleton.c" to a curl command, it generates a C
> skeleton for the request into the given file name (skeleton.c): you have
> to edit and adjust it afterwards. This works for any curl command line.
>

And here is a quick SOAP-specific modification of my previous example as well:

https://gist.github.com/p120ph37/8281362ae9da042f3043

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-21