Read from streaming HTTP sources
Field | Description | Required | Example |
---|---|---|---|
endpoint | The endpoint for the HTTP server | Yes | https://api.example.com/v1/events |
headers | A comma-separated list of colon separated key-value pairs of headers that will be sent to the server | No | Content-Type:application/json,Authorization: Bearer mytoken |
method | The HTTP method to use when polling the endpoint | No | GET |
body | The body to send with the request | No | {"foo": "bar"} |
poll_interval_ms | The interval at which to poll the endpoint, in milliseconds | No | 5000 |
emit_behavior | Controls when records are emitted; can be all or changed | No | changed |