cURL / Mailing Lists / curl-users / Single Mail

curl-users

XML RPC

From: Guilhem MARTIN <guilhem.martin_at_orange.fr>
Date: Mon, 30 Jun 2008 17:50:15 +0200 (CEST)

Hello,

I'm trying to make an XML RPC call for retrieving current time (http://www.xmlrpc.com/currentTime).

I've tried following:

curl.exe --data-ascii "&lt;?xml version=""1.0""?&gt;&lt;methodCall&gt;&lt;methodName&gt;currentTime.getCurrentTime&lt;/methodName&gt;&lt;params&gt;&lt;/params&gt;&lt;/methodCall&gt;" time.xmlrpc.com/RPC2

(and prior to that, I also tried with < and > instead of lt and gt)

Yet this syntax is not understood by the command prompt, in particular because "&" is interpreted as a command.

Any help would be greatly appreciated!

Thanks.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-06-30