====== XML-RPC ====== XML-RPC is one of the available protocols to access DokuWiki's [[Remote API]], modern implementations will probably prefer using the [[jsonrpc|JSON-RPC]] API which provides the same functionality but is based on JSON rather XML. Please refer to the main [[Remote API]] page on how to enable the API functionality, how authentication works and which methods are available. ===== Accessing The XML-RPC Interface ===== You can access the XML-RPC interface via the following URLs: http(s):///lib/exe/xmlrpc.php Refer to [[authentication]] on how to authenticate API requests. ===== Sample XML Requests ===== You should use an XML-RPC library instead of hand-crafting your requests. Here are some simple examples of how to post to the API. Please refer to the [[wp>XML-RPC]] for more details on the protocol. POST /RPC2 HTTP/1.0 Host: example.com Content-Type: text/xml core.getWikiVersion Here's the call to save new page content as a minor edit: core.savePage mynamespace:mypage This is my page content The summary for this minor edit True ===== Sample Clients ===== A number of [[devel:xmlrpc:clients|clients written in different languages]] are available.