cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: New to the list, a little help please

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 28 May 2004 08:50:49 +0200 (CEST)

On Thu, 27 May 2004, Jake Abramson wrote:

> curl https://api.sandbox.ebay.com/ws/api.dll -d xmlfile -H
> "X-EBAY-API-COMPATIBILITY-LEVEL: 311" -H "X-EBAY-API-SESSION-CERTIFICATE:
> devname;appname;certname" -H "X-EBAY-API-DEV-NAME: devname" -H
> "X-EBAY-API-APP-NAME: appname" -H "X-EBAY-API-CERT-NAME: certname" -H
> "X-EBAY-API-CALL_NAME = GeteBayOfficialTime" -H "X-EBAY-API-SITEID: 0" -H
> "X-EBAY-API-DETAIL-LEVEL = 0" -H "Content-Type = text/xml"
>
> with my XML information in the XML file. I'm getting a return of a blank
> result. any ideas?

First out, now you're not asking about how to use curl anymore, now you're
asking about how to get a proper response back from an ebay.com service.

I suggest you ask them about it. But...

1. You're not providing data from the xml file since you left out the @
letter.

2. You use '=' on several attempted headers and that is badness, as I wrote in
my previous reply. If you use -v/--trace/--trace-ascii you can see for
yourself how your request turns out and you should make sure it looks the way
you want.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-28