Using payload from Node Red in HA Rest comand? (masking system projector)

Hi all,

i am working on a masking system for my projecot using nodered and restcommands and i am having issues to hand over a certain payload from node red to a rest command in HA. Is this even possible?
Payload is a number of steps a stepper motor should move.

Node Red:

RestCommand:

  mask_move_to_ratio:
    url: "http://10.7.0.20:1337/move-to/"
    payload: ""
    method: put

Thanks very much for your ideas :slight_smile:

Think i got it:

mask_move_to_ratio:

    url: "http://10.7.0.20:1337/move-to/{{payload}}"
    payload: "{{payload}}"
    method: put