@sink(type="http", publisher.url="<STRING>", basic.auth.username="<STRING>", basic.auth.password="<STRING>", client.truststore.path="<STRING>", client.truststore.pass="<STRING>", @map(type='type', @payload('{{payloadBody}}')))
Extension Type | Sink | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | This is description for http sink extension. This extension publish the http events in any method types such as POST, GET, PUT, DELETE via http or https protocols. As the additional features this component can provide basic authentication as well as user can publish events using custom client truststore files when publishing events via https protocol. And also user can add any number of headers for each event dynamically. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
System Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples |
|
@source(type="http", receiver.url="<STRING>", basic.auth.enabled="<STRING>", worker.count="<STRING>", server.bootstrap.boss.group.size="<STRING>", server.bootstrap.worker.group.size="<STRING>", @map(type='type', @payload('{{payloadBody}}')))
Extension Type | Source | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | The HTTP source receives POST requests via HTTP or HTTPS in text , XML orJSON format. If required, you can enable basic authentication to ensure thatevents are received only from users who are authorized to access WSO2 DAS. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
System Parameters |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples |
|