The HTTP transport handler allows the communication over the HTTP standard

Options

Example

PQL

input = ACCESS({source='Source',
wrapper='GenericPull',
transport='HTTP',
protocol='CSV',
dataHandler='Tuple',
options=[['uri', 'http://www.example.com'], ['method', 'get']],
schema=[
['id', 'Double'],
['data', 'String']]
})

output = SENDER({sink='Sink',
wrapper='GenericPush',
transport='HTTP',
protocol='CSV',
dataHandler='Tuple',
options=[['uri', 'http://www.example.com'], ['method', 'post']]
}, input)

CQL

CREATE STREAM source (id Double, data STRING)
    WRAPPER 'GenericPush'
    PROTOCOL 'CSV'
    TRANSPORT 'HTTP'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'uri' 'http://www.example.com' 'method' 'get')


CREATE SINK sink (id Double, data STRING)
    WRAPPER 'GenericPush'
    PROTOCOL 'CSV'
    TRANSPORT 'HTTP'
    DATAHANDLER 'Tuple'
    OPTIONS ( 'uri' 'http://www.example.com' 'method' 'post')