Node-RED
npm install -g node-red
node-red
- http request/response
[
{
"id": "bb35b3f0.b2a2",
"type": "http in",
"z": "ed72fee5.a1274",
"name": "",
"url": "/hello",
"method": "get",
"swaggerDoc": "",
"x": 77.5,
"y": 67,
"wires": [
[
"ed1c0614.d71ab8"
]
]
},
{
"id": "c7d7c97c.5bf408",
"type": "http response",
"z": "ed72fee5.a1274",
"name": "",
"x": 502.5,
"y": 72,
"wires": []
},
{
"id": "ed1c0614.d71ab8",
"type": "json",
"z": "ed72fee5.a1274",
"name": "",
"x": 271.5,
"y": 69,
"wires": [
[
"c7d7c97c.5bf408",
"1905978f.f99698"
]
]
}
]
[
{
"id": "8dcbe6a2.6ccd48",
"type": "debug",
"z": "ed72fee5.a1274",
"name": "",
"active": true,
"console": "false",
"complete": "false",
"x": 524.5,
"y": 199,
"wires": []
},
{
"id": "b9a93f64.c92b7",
"type": "twitter in",
"z": "ed72fee5.a1274",
"twitter": "",
"tags": "node-red",
"user": "false",
"name": "",
"topic": "tweets",
"inputs": 0,
"x": 74.5,
"y": 199,
"wires": [
[
"8dcbe6a2.6ccd48"
]
]
}
]