curl-library
RE: CURL custom POST commands
Date: Mon, 20 Jul 2015 17:57:35 +0200
Fitzgerald, Kevin wrote:
>> curl -u user:pass --data-binary @soapreq.xml -H "Content-Type:
text/xml; charset=utf-8" -H "SOAPAction:
\"https://workweb.dwd.state.wi.us/KIDS/LicenseCertification/Service/chec
kCertifications\"
<https://workweb.dwd.state.wi.us/KIDS/LicenseCertification/Service/check
Certifications/> "
https://acc.dwd.wisconsin.gov/licensecertificationext/service/licensecer
tification.asmx
> 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.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-07-20