Example 2 - Node Responds (HTTP)
Last updated
Was this helpful?
Last updated
Was this helpful?
Building upon Example 1 - Node with Transaction Mode (HTTP), this configuration demonstrates how to set up a complete request-response cycle using FlowSync. The service includes a mapping that processes incoming HTTP requests and generates defined responses. When a request arrives, the system automatically creates and publishes an appropriate response message, preventing the timeout scenario seen in the previous example.
To call the HttpNode in the example below, run the following command:
For more information on the FlowSync configuration properties, see Cybus:Node.