| 1234567891011121314151617 |
- {
- "name": "get-trigger-query-passthrough",
- "nodes": [
- {"id": "n1", "name": "Webhook", "type": "get-trigger", "position": {"x": 0, "y": 0}, "config": {}},
- {"id": "n2", "name": "Respond", "type": "respond-to-webhook", "position": {"x": 0, "y": 100},
- "config": {"status": 200, "bodySource": "input", "bodyField": "data.query"}}
- ],
- "connections": [
- {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "n2", "targetInput": "data"}
- ],
- "http": {
- "method": "GET",
- "path": "/webhook/{workflowId}?probe=query-from-test",
- "expectStatus": 200,
- "expectBodyContains": ["\"probe\":\"query-from-test\""]
- }
- }
|