Show TOC

HTTP Output AdapterLocate this document in the navigation structure

Adapter type: httpplugin. The HTTP Output adapter receives ad-hoc SQL queries in the form of HTTP POST requests from an HTTP client. The adapter sends these queries to the ESP Server, and publishes the result data to the HTTP client in XML format.

Install and configure your own HTTP client to use with this adapter. To configure this adapter in Studio, select the HTTP Output (external) adapter from the Palette.

Here is an example of an ad-hoc query sent as a POST method:
POST /start HTTP/1.1 
Content-Length: 21
select * from window1
Here is an example of the response:
HTTP/1.1 200 OK
Content-Type: text/html
Transfer-Encoding: chunked
<records><br><window1 ESP_OPS="i" column1="aaa" column2="111" >

Commands specified in the cnxml file for this adapter cannot contain the following strings: "mv", "rm", or "del".