Last active
December 11, 2018 01:22
-
-
Save iganari/8759f53b4f982a954d36a786fc01f3fe to your computer and use it in GitHub Desktop.
Node-RED Advent Calendar 2018用のNode-REDのFLOWです
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"f52634cd.bfe848","type":"tab","label":"test FLOW","disabled":false,"info":""},{"id":"6b0f13f5.97105c","type":"http in","z":"f52634cd.bfe848","name":"","url":"/top","method":"get","upload":false,"swaggerDoc":"","x":130,"y":140,"wires":[["43ceb723.d32048"]]},{"id":"3ef85766.88a148","type":"http in","z":"f52634cd.bfe848","name":"","url":"/result","method":"get","upload":false,"swaggerDoc":"","x":130,"y":240,"wires":[["f63a440a.6ca428"]]},{"id":"43ceb723.d32048","type":"template","z":"f52634cd.bfe848","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<form action=\"result\" method=\"get\">\n コメントを入れてください: <input type=\"text\" name=\"word\"><br>\n</form>","output":"str","x":340,"y":140,"wires":[["633e3dc8.c6ab64"]]},{"id":"f63a440a.6ca428","type":"template","z":"f52634cd.bfe848","name":"","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<p1> あなたの入力は </p1>\n<h1> {{ payload.word }} </h1>\n<p1> です </p1>","output":"str","x":340,"y":240,"wires":[["3e46f108.ed516e"]]},{"id":"3e46f108.ed516e","type":"http response","z":"f52634cd.bfe848","name":"","statusCode":"","headers":{},"x":540,"y":240,"wires":[]},{"id":"633e3dc8.c6ab64","type":"http response","z":"f52634cd.bfe848","name":"","statusCode":"","headers":{},"x":550,"y":140,"wires":[]},{"id":"18382184.27cefe","type":"comment","z":"f52634cd.bfe848","name":"","info":"http://127.0.0.1:1880/top","x":140,"y":80,"wires":[]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment