# 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:

{% code lineNumbers="true" %}

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

{% endcode %}

For more information on the FlowSync configuration properties, see [Cybus:Node](https://docs.cybus.io/2-0-6/documentation/service-commissioning-files/resources/cybus-node#operation).

<figure><img src="https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-d721de3fd21aa4dca450859a17d8d0d1fd817242%2Fflowsync-example-1.png?alt=media" alt=""><figcaption></figcaption></figure>

{% file src="<https://639096190-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfDpOJO2upcq5EpoSahvK%2Fuploads%2Fgit-blob-c88c0a94951893de241d3c479a294fbe8248af84%2Fflowsync-example-1-node-with-transaction-mode-http.yaml?alt=media>" %}

{% code title="flowsync-example-1-node-with-transaction-mode-http.yaml" lineNumbers="true" %}

```yaml
description: FlowSync - Example 1

metadata:
  name: example 1
  version: 1.0.0

resources:
  testServer:
    type: Cybus::Server::Http
    properties:
      basePath: /FlowSync

  exampleNode:
    type: Cybus::Node::Http
    properties:
      parent: !ref testServer
      method: GET
      route: /example1
      operation: transaction
```

{% endcode %}
