curl-users
Re: New to the list, a little help please
Date: Thu, 27 May 2004 11:09:36 +0200 (CEST)
On Thu, 27 May 2004, Jake Abramson wrote:
> If i try sending anything to a HTTPS site, i get this back: "libcurl was
> built with SSL disabled, https: not supported!
>
> Is that something I'm doing wrong?
Doesn't that error message tell you pretty accurately what's wrong? curl uses
libcurl for transfer-related stuff. If libcurl was built without SSL-support
it cannot transfer data to/from https:// URLs. This is the case for you.
Get a curl/libcurl that was built SSL-enabled, and you won't see those texts
anymore. I really hope you mean that those headers should use a colon and not
a '=' sign?
1. Put the xml in the file 'xmlfile'
2. Use -H to add every custom header you want
curl [URL] -d @xmlfile -H "X-EBAY-API-DEV-NAME: devname" -H "Content-Type: \
text/xml" ...
... but you could possibly use a libcurl binding to do all this from your
favourite language.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-05-27