This section demonstrates how to simulate a single event to be processed via WSO2 DAS.
Prerequisites
Before simulating events, a Siddhi application should be deployed.
Simulating an event
To simulate an event, send a POST request to theĀ /simulation/single
API. The following is an example of a POST request.
curl -X POST \ http://localhost:9090/simulation/single \ -H 'content-type: text/plain' \ -d '{ "streamName": "FooStream", "executionPlanName": "TestExecutionPlan", "timestamp": null, "data": [ null, "9", "45" ] }'