# 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](../../service-commissioning-files/structure-of-service-commissioning-files/resources/cybus-node#operation).

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

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

{% code 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 %}
