All docs
This doc
...
The following is a sample curl command to issue when the Siddhi application is deployed and run in the Worker profile. For more information, see Stream see WSO2 Stream Processor Profiles.
Code Block |
---|
curl -X POST https://localhost:7443/stores/query -H "content-type: application/json" -u "admin:admin" -d '{"appName" : "RoomService", "query" : "select 10 as roomNumber, 1 as arrival update RoomTypeTable set RoomTypeTable.people = RoomTypeTable.people + arrival on RoomTypeTable.roomNo == roomNumber;" }' -k |
...
The following is a sample curl command to issue when the Siddhi application is deployed and run in the Editor profile. For more information, see Stream WSO2 Stream Processor Profiles.
Code Block |
---|
curl -X POST http://localhost:7370/stores/query -H "content-type: application/json" -d '{"appName" : "RoomService", "query" : "select 10 as roomNumber, 1 as arrival update RoomTypeTable set RoomTypeTable.people = RoomTypeTable.people + arrival on RoomTypeTable.roomNo == roomNumber;" }' |
...