-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathquery-handling.json
More file actions
76 lines (76 loc) · 1.75 KB
/
Copy pathquery-handling.json
File metadata and controls
76 lines (76 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[
{
"id": "75a15f0a5b21b676",
"type": "comment",
"z": "4730a3973976294e",
"name": "Query Handling (at /query)",
"info": "",
"x": 130,
"y": 880,
"wires": []
},
{
"id": "4fd79775fd3ae9a9",
"type": "http in",
"z": "4730a3973976294e",
"name": "",
"url": "query",
"method": "get",
"upload": false,
"swaggerDoc": "",
"x": 90,
"y": 940,
"wires": [
[
"caccc7229a5c7b7d"
]
]
},
{
"id": "caccc7229a5c7b7d",
"type": "template",
"z": "4730a3973976294e",
"name": "process Request",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "\"single\":\"{{{req.query.single}}}\",\n\"multiple\":\"{{{req.query.multiple}}}\",\n\"empty\":\"{{{req.query.empty}}}\"",
"output": "str",
"x": 290,
"y": 940,
"wires": [
[
"487be741aedff65c",
"be5a056012092bdb"
]
]
},
{
"id": "487be741aedff65c",
"type": "http response",
"z": "4730a3973976294e",
"name": "",
"statusCode": "200",
"headers": {},
"x": 520,
"y": 940,
"wires": []
},
{
"id": "be5a056012092bdb",
"type": "debug",
"z": "4730a3973976294e",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 490,
"y": 980,
"wires": []
}
]