- [
- {
- "id": "e95296dbcc346886",
- "type": "tab",
- "label": "Flow 4",
- "disabled": false,
- "info": "",
- "env": []
- },
- {
- "id": "4a4a032f92369264",
- "type": "http in",
- "z": "e95296dbcc346886",
- "name": "FAT",
- "url": "/FAT",
- "method": "get",
- "upload": false,
- "swaggerDoc": "",
- "x": 110,
- "y": 100,
- "wires": [
- [
- "95a8fc3f1f7bf680"
- ]
- ]
- },
- {
- "id": "95a8fc3f1f7bf680",
- "type": "function",
- "z": "e95296dbcc346886",
- "name": "function 2",
- "func": "msg.url = \"Project\";\nreturn msg;",
- "outputs": 1,
- "timeout": 0,
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 280,
- "y": 120,
- "wires": [
- [
- "41677cb2dad5ae59"
- ]
- ]
- },
- {
- "id": "4a7fdb09f4d4ca96",
- "type": "http response",
- "z": "e95296dbcc346886",
- "name": "",
- "statusCode": "",
- "headers": {},
- "x": 630,
- "y": 220,
- "wires": []
- },
- {
- "id": "41677cb2dad5ae59",
- "type": "template",
- "z": "e95296dbcc346886",
- "name": "",
- "field": "payload",
- "fieldType": "msg",
- "format": "handlebars",
- "syntax": "mustache",
- "template": "\"This is the payload: {{payload}} !\n<!DOCTYPE html>\n<html>\n<head>\n<h1 style=\"background-color:DodgerBlue;\">IoT Domain</h1>\n</head>\n<body>\n<p style=\"background-color:Tomato;\">\n<OL>\n<LI> Enter your Name.\n<LI> Registration Number.\n</OL>\n<h4>\n<a href=\"https://projectmark.com/\"> Project Mark</a>\n</h4>\n<form method=\"post\" action=\"/{{url}}\">\n<label for=\"name\">First name:</label><br>\n<input type=\"text\" id=\"fname\" name=\"fname\"><br>\n<label for=\"reg\">Reg No:</label><br>\n<input type=\"text\" id=\"reg\" name=\"reg\" ><br><br>\n<label for=\"topic\">Project Title:</label><br>\n<input type=\"text\" id=\"topic\" name=\"Project Topic\" ><br><br>\n<input type=\"submit\" value=\"Submit\">\n<input type=\"reset\" value=\"Reset\" >\n</form>\n</body>\n</html>",
- "output": "str",
- "x": 460,
- "y": 160,
- "wires": [
- [
- "4a7fdb09f4d4ca96"
- ]
- ]
- },
- {
- "id": "af205c003299cf1b",
- "type": "http in",
- "z": "e95296dbcc346886",
- "name": "",
- "url": "/PROJECT",
- "method": "post",
- "upload": false,
- "swaggerDoc": "",
- "x": 100,
- "y": 260,
- "wires": [
- [
- "c8ebbbec5d9e8bff",
- "5e4abf0d486734b2"
- ]
- ]
- },
- {
- "id": "c8ebbbec5d9e8bff",
- "type": "json",
- "z": "e95296dbcc346886",
- "name": "",
- "property": "payload",
- "action": "",
- "pretty": false,
- "x": 270,
- "y": 260,
- "wires": [
- [
- "31cce3b0fbfa23be"
- ]
- ]
- },
- {
- "id": "31cce3b0fbfa23be",
- "type": "function",
- "z": "e95296dbcc346886",
- "name": "function 3",
- "func": "\nreturn msg;",
- "outputs": 1,
- "timeout": 0,
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 420,
- "y": 320,
- "wires": [
- [
- "94452a18d0783d05"
- ]
- ]
- },
- {
- "id": "94452a18d0783d05",
- "type": "http response",
- "z": "e95296dbcc346886",
- "name": "",
- "statusCode": "",
- "headers": {},
- "x": 590,
- "y": 360,
- "wires": []
- },
- {
- "id": "5e4abf0d486734b2",
- "type": "debug",
- "z": "e95296dbcc346886",
- "name": "debug 5",
- "active": true,
- "tosidebar": true,
- "console": false,
- "tostatus": false,
- "complete": "false",
- "statusVal": "",
- "statusType": "auto",
- "x": 320,
- "y": 420,
- "wires": []
- }
- ]
[text] ctc1
Viewer
*** This page was generated with the meta tag "noindex, nofollow". This happened because you selected this option before saving or the system detected it as spam. This means that this page will never get into the search engines and the search bot will not crawl it. There is nothing to worry about, you can still share it with anyone.
Editor
You can edit this paste and save as new: