Set http api command

Hi, I want to set my go-e with http api command as described here:

But my attempts fail:

[
    {
        "id": "41ac642c54b4a786",
        "type": "http request",
        "z": "32e1a23f.66043e",
        "name": "Phasen",
        "method": "GET",
        "ret": "obj",
        "paytoqs": "body",
        "url": "http://192.168.168.42/api/set?psm={{msg.payload}}",
        "tls": "",
        "persist": false,
        "proxy": "",
        "authType": "",
        "senderr": false,
        "credentials": {},
        "x": 1240,
        "y": 340,
        "wires": [
            [
                "4851dd6256e59b3f"
            ]
        ]
    },
    {
        "id": "df0003900f591f61",
        "type": "inject",
        "z": "32e1a23f.66043e",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "1",
        "payloadType": "num",
        "x": 1050,
        "y": 340,
        "wires": [
            [
                "41ac642c54b4a786"
            ]
        ]
    },
    {
        "id": "4851dd6256e59b3f",
        "type": "debug",
        "z": "32e1a23f.66043e",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 1450,
        "y": 340,
        "wires": []
    }
]

Any idea?

Greetings

oh I got it:
It must be: http://192.168.168.42/api/set?psm={{payload}} not {{msg.payload}} :crazy_face:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.