Creating Client Software

This chapter focuses on key points of creating client software that will interact with Plesk via API RPC protocol. We consider here the tasks that should be fulfilled by client application, and possible ways of their implementation as well.

Note: Though all code samples in the chapter are in PHP, client software can be written in any programming language.

In this chapter:

Client Application Structure

Creating Plesk API RPC Packet

Sending Request Message Via Plesk API RPC

Parsing Response Message Received From Plesk

Handling Errors

Client Code Samples