WordPress provides support for its API through the xmlrpc.php file located inside the root of the installation directory. Basically, we need two components to build and use an API:
- The API server: This is the application where the API function resides
- The API client: This is a third-party application or service that requests the functionality of an API
Since we will be using the existing API functions, we don't need to worry about the server, as it's built inside the core. So, we will build a third-party client to access the service. Later, we will improve the API server to implement custom functionalities that go beyond the existing API functions. The API client is responsible for providing the following features: ...