Example 1 - Node with Transaction Mode (HTTP)

This example demonstrates a basic FlowSync configuration using an HTTP node. The service is configured to use transaction mode. Since no MQTT messages are published to the /tres topic in this setup, requests will time out after the default timeout period.

  • To call the HttpNode in the example below, run the following command:

curl --insecure \
--location 'https://127.0.0.1/data/flowsync/example1' \
--header 'Authorization: Bearer <replace with your token>'

For more information on the FlowSync configuration properties, see Cybus:Node.

Last updated

Was this helpful?