The REST interface enables low-resource clients or those using unsupported technologies for the real-time client API to produce and consume messages via HTTP requests.

To activate the REST interface, set the optional parameter Rest.Enable of the MigratoryData server to true. By default, this parameter is false.

You can test the REST interface using a tool like curl that allows GET and POST methods to be invoked, and can pass data into the body of the HTTP request.

The interface consists of two endpoints — produce and consume — which are detailed in the sections below.