Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | 5.x, 6,x |
How to send request to running FraudDetection application using curl on Linux
As the event defined in the destination of the sample project is a generic parent event we need to pass proper event namespace and name through the request. Also, all the event properties are by default considered part of header properties and not params.
e.g:-Please use following curl call to trigger the createAccount event for sample CreditCard Application shipped with BE installation:
curl -i -H "_ns_:www.tibco.com/be/ontology/Events/CreateAccount" -H "_nm_:CreateAccount" -H "AccountId:Bob3" -H "Balance:200000" -H "AvgMonthlyBalance:11000" -X POST http://localhost:8109/Channels/HTTP/AllOps