Can someone please help me get the output for Template, same output as debug shows right after http request node. found few similar posts here, but still can't get this work
[
{
"id": "ec5233ca1116fa70",
"type": "http request",
"z": "f3698a3f6c8d8f2d",
"name": "",
"method": "GET",
"ret": "obj",
"paytoqs": "body",
"url": "https://,
"tls": "",
"persist": false,
"proxy": "",
"authType": "",
"senderr": false,
"credentials": {},
"x": 370,
"y": 120,
"wires": [
[
"5716c988bbe9a686",
"2df1dbe73f69ab1d"
]
]
},
{
"id": "5716c988bbe9a686",
"type": "template",
"z": "f3698a3f6c8d8f2d",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "<!DOCTYPE html>\n<html>\n <head>\n </head>\n <body>\n\n <h1>Hello </h1>\n {{payload.results[0].name}}\n </body>\n</html>",
"output": "str",
"x": 640,
"y": 120,
"wires": [
[
"f3e40b161b689c1a"
]
]
},
{
"id": "f3e40b161b689c1a",
"type": "debug",
"z": "f3698a3f6c8d8f2d",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload.results[0].name",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 900,
"y": 120,
"wires": []
},
{
"id": "874b0adc0efdef79",
"type": "inject",
"z": "f3698a3f6c8d8f2d",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "headers",
"v": "{\"content-type\": \"application/json\"}",
"vt": "json"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 180,
"y": 120,
"wires": [
[
"ec5233ca1116fa70"
]
]
},
{
"id": "2df1dbe73f69ab1d",
"type": "debug",
"z": "f3698a3f6c8d8f2d",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload.results[0].name",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 660,
"y": 220,
"wires": []
}
]