-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathform-processing.json
More file actions
59 lines (59 loc) · 1.38 KB
/
Copy pathform-processing.json
File metadata and controls
59 lines (59 loc) · 1.38 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
[
{
"id": "a0cb99c78c0317de",
"type": "comment",
"z": "4730a3973976294e",
"name": "Form Processing (at /form-processing)",
"info": "",
"x": 830,
"y": 880,
"wires": []
},
{
"id": "5c23c162fc24aea2",
"type": "http response",
"z": "4730a3973976294e",
"name": "",
"statusCode": "200",
"headers": {},
"x": 1160,
"y": 940,
"wires": []
},
{
"id": "c3d4c30f8b61ba9e",
"type": "http in",
"z": "4730a3973976294e",
"name": "",
"url": "form-processing",
"method": "post",
"upload": false,
"swaggerDoc": "",
"x": 780,
"y": 940,
"wires": [
[
"8bc1342748eefbfe"
]
]
},
{
"id": "8bc1342748eefbfe",
"type": "function",
"z": "4730a3973976294e",
"name": "create Response",
"func": "msg.headers = msg.headers || {}\nmsg.headers['Content-Type'] = 'application/json'\n\nmsg.statusCode = 200 // form contents are already in msg.payload\nreturn msg\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 990,
"y": 940,
"wires": [
[
"5c23c162fc24aea2"
]
]
}
]