I would like to have the webhook payload, which I receive via Home Assistant, via a REST-Command to a local HTTP-Post-Destination.
I try to do this via
alias: Incoming-Revid-Trigger
description: ""
triggers:
- trigger: webhook
allowed_methods:
- POST
- PUT
webhook_id: "xxx123"
conditions: []
actions:
- action: rest_command.incoming_revid_webhook
data:
payload: "{ \"data\": {{ trigger.json }} }"
method: post
mode: single
The webhook is received, but the body is empty.
Do you have an idea, how I can get the complete payload included into the payload of the rest-command?