Http sink connector
Used to launch web hooks using data.
For example, if the data from upstream is [
age: 12, name: tyrantlucifer
], the body content is the following:{"age": 12, "name": "tyrantlucifer"}
Tips: Http sink only support post json
webhook and the data from source will be treated as body content in web hook.
name | type | required | default value |
---|---|---|---|
url | String | Yes | - |
headers | Map | No | - |
http request url
http headers
simple:
Http { url = "http://localhost/test/webhook" headers { token = "9e32e859ef044462a257e1fc76730066" } }