Protocol

The ASR REST API provides methods to trigger server functions. The HTTP connection between client and server is established in the default manner. The operation is performed and the result is returned in the HTTP response, as soon as it is obtained.

The current ASR REST API is composed by the following methods.

Table 11 ASR REST API methods

Method

Description

recognize

Recognizes speech in audios sent to it. The text must be sent in the HTTP Request HTTP body. Recognition is performed synchronously and the result returned in the HTTP response.

interpret

Performs semantic interpretation of a text supplied by the client, using the indicated grammar. The text must be sent in the HTTP message body. Recognition is performed synchronously and the result returned in the HTTP response.