access snipplr with groovy via XML-RPC
simple example and my first entry in snipplr
Copy this code and paste it in your HTML
import org.apache.xmlrpc.client.XmlRpcClient; import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
XmlRpcClientConfigImpl config
= new XmlRpcClientConfigImpl
() config.
setServerURL(new URL("http://snipplr.com/xml-rpc.php"))
XmlRpcClient client
= new XmlRpcClient
() client.setConfig(config)
Object[] params
= ["<insert your id here>"]
}
}
URL: www.nautsch.net
Report this snippet
Comments
Subscribe to comments