Example 4 - Node with Timeout Error Code and Error Message (HTTP)
curl --insecure \
--location 'https://127.0.0.1/data/flowsync/example4' \
--header 'Authorization: Bearer <replace with your token>'
Last updated
Was this helpful?
curl --insecure \
--location 'https://127.0.0.1/data/flowsync/example4' \
--header 'Authorization: Bearer <replace with your token>'
Last updated
Was this helpful?
Was this helpful?
description: FlowSync - Example 4
metadata:
name: example 4
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: /example4
operation: transaction
transaction: #optional
timeout: 2000 # optional
timeoutErrorCode: 408 # optional
timeoutErrorMessage: 'Your Request timed out. This is a custom timeout message.' # optional