cURL / Mailing Lists / curl-users / Single Mail

curl-users

New to the list, a little help please

From: Jake Abramson <curl_at_email.liquidboxes.net>
Date: Thu, 27 May 2004 01:44:38 -0700

Hi everyone, i'm new to the list, and could use a little help.

I'm trying to post something that requires headers, and a body sent to a
HTTPS site.

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?

And now to the real question. I'm trying to post to the ebay API backend,
which requires headers and body.

Here is the elements, maybe someone can help me turn this into some working
code.

POST to: https://api.sandbox.ebay.com/ws/api.dll
Headers Start:
X-EBAY-API-COMPATIBILITY-LEVEL = 311
X-EBAY-API-SESSION-CERTIFICATE = devname;appname;certname
X-EBAY-API-DEV-NAME = devname
X-EBAY-API-APP-NAME = appname
X-EBAY-API-CERT-NAME = certname
X-EBAY-API-CALL_NAME = GeteBayOfficialTime
X-EBAY-API-SITEID = 0
X-EBAY-API-DETAIL-LEVEL = 0
Content-Type = text/xml
Headers End
Request Begin
<?xml version='1.0' encoding='iso-8859-1'?>
                                 <request>
                                 <RequestUserId>usa5</RequestUserId>
                                 <RequestPassword>ebay</RequestPassword>
                                 <ErrorLevel>1</ErrorLevel>
                                 <DetailLevel>0</DetailLevel>
                                 <Verb>GeteBayOfficialTime</Verb>
                                 <SiteId>0</SiteId>
                                 </request>
Request End
It should return the time if done correctly.

I'm using the windows command line version.

Thanks !
Received on 2004-05-27