[ { "id": "9d1cadb8.282f68", "type": "template", "z": "ffa8d275.3f4c28", "name": "", "field": "payload", "fieldType": "msg", "format": "json", "syntax": "mustache", "template": "{\"characteristics\":[{\"aid\":2,\"iid\":10,\"value\":true}]}", "output": "json", "x": 400, "y": 840, "wires": [ [ "5f3be58.9d31d9c" ] ] }, { "id": "6681538a.f99714", "type": "debug", "z": "ffa8d275.3f4c28", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 890, "y": 840, "wires": [] }, { "id": "9fbbaceb.729dd8", "type": "http request", "z": "ffa8d275.3f4c28", "name": "", "method": "PUT", "ret": "txt", "url": "1.1.1.1:51826/characteristics", "tls": "", "x": 710, "y": 840, "wires": [ [ "6681538a.f99714" ] ] }, { "id": "74c2445d.fc918c", "type": "inject", "z": "ffa8d275.3f4c28", "name": "", "topic": "", "payload": "", "payloadType": "date", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "x": 240, "y": 840, "wires": [ [ "9d1cadb8.282f68" ] ] }, { "id": "5f3be58.9d31d9c", "type": "function", "z": "ffa8d275.3f4c28", "name": "add headers", "func": "msg.headers = {};\nmsg.headers[\"content-type\"] = 'Content-Type:Application/json';\nmsg.headers[\"authorization\"] = \"111-11-111\";\nreturn msg;", "outputs": 1, "noerr": 0, "x": 550, "y": 840, "wires": [ [ "9fbbaceb.729dd8", "6681538a.f99714" ] ] } ]