codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
> var xmlrpc = require('xmlrpc') > var api = xmlrpc.createSecureClient({ ... host: 'rpc.gandi.net', ... port: 443, ... path: '/xmlrpc/' ... }) > > var apikey = 'my 24-character API key' > > // Now you can call API methods. > // You must authenticate yourself by passing the API key > // as the first method's argument > api.methodCall('version.info', [apikey], function (error, value) { ... console.dir(value) ... })
Private
[
?
]
Run code
Submit