In this article we walk you through the fundamentals of XML-RPC for WordPress, including the basics of XML-RPC and how WordPress exposes this protocol.
Some sample codes for using XML-RPC. Just for knowledge. More interested in WP REST API.
Source: XML-RPC for WordPress Developers