@thomkast sagte in Blockly-Baustein für HTTP PUT:
Unter NodeRed werde ich es auch noch nachstellen, wird allerdings ein wenig dauern, da mir die Zeit wieder davongelaufen ist. Rückmeldung dazu kommt dann späääääter ;-).
Achso hier noch der Flow - um einen Put in Node Red zu senden - ist easy - aber trotzdem hier noch zum Import
300e941a-64a6-413f-b0f2-2bddb7992d68-image.png
Spoiler
[
{
"id": "155a757534926020",
"type": "inject",
"z": "7e6af0015415146d",
"name": "",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"name\":\"mickym\",\"power\":2000}",
"payloadType": "json",
"x": 2550,
"y": 840,
"wires": [
[
"23a3d2b797152c44"
]
]
},
{
"id": "23a3d2b797152c44",
"type": "http request",
"z": "7e6af0015415146d",
"name": "",
"method": "PUT",
"ret": "txt",
"paytoqs": "ignore",
"url": "http://mwhome:1881/mickym",
"tls": "",
"persist": false,
"proxy": "",
"insecureHTTPParser": false,
"authType": "",
"senderr": false,
"headers": [],
"credentials": {},
"x": 2710,
"y": 840,
"wires": [
[
"48aeaae45286273d"
]
]
},
{
"id": "48aeaae45286273d",
"type": "debug",
"z": "7e6af0015415146d",
"name": "response auf PUT",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 2930,
"y": 840,
"wires": []
}
]