Static
requestMake an XML-RPC request.
The full URL of the XML-RPC host endpoint being called.
Name of the method to call. Supported values are specific to the services provided by the host.
The parameters to pass to the request. This should be an array of values, in the proper order, as specified by the documentation of the host being called. This array will be encoded into XML-RPC parameters in XML format by the method - only raw javascript values should be provided.
The XMLRPC object is a convenience method to provide an easy way to XML-RPC web services. The request function takes care of converting native Javascript objects and values to the XML parameters required for the XML-RPC interface, and converts the XML responses returned to Javascript objects.
It will also return faults parsed to error messages in the response if necessary.
This object is suitable for communication with a number of popular XML-RPC interfaces, including the MetaWeblog API. WordPress also offers its own XML-RPC interface, which can be used via this object, or the convenience wrapper
WordPress
object.Example
XML-RPC call