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
{
"name": "World Countries",
"description": "Workflow description",
"version": "1.0.0",
"trigger": {
"http": {
"method": "GET",
"path": "/",
"accept": "application/json"
}
},
"steps": [
{
"name": "get-countries-api",
"node": "@nanoservice-ts/api-call",
"type": "module"
}
],
"nodes": {
"get-countries-api": {
"inputs": {
"url": "https://countriesnow.space/api/v0.1/countries/capital",
"method": "GET",
"headers": {
"Content-Type": "application/json"
},
"responseType": "application/json"
}
}
}
}