Chapter 1
Introduction

Starting in version 2.50, the REX Control System provides a simple communication interface utilizing HTTP protocol and other Web technologies that is called REST API. The REST API is integrated directly into the REX Control System and no special applications or tools are necessary for putting it into operation. The REST API makes it possible to command the REX Control System from third party tools that support HTTP protocol or even directly from Web browser without the need for any dedicated tool.

The API utilizes a simple lightweight built-in Web server, that has also been integrated into REX starting from version 2.11. The Web server runs HTTP protocol on port 8008 and HTTPS protocol (HTTP over SSL) on port 8009 in default configuration. Both ports may be configured and the Web server can by enabled or disabled in configuration. For detailed information about the configuration see [1].