I don’t receive the payload on the url. I tried post & get, i tried different variables and methods. Can anyone please assist? I’m trying to post values from KNX power usage to my server. I receive the call on my server but without the values/payload.
rest_command:
my_request:
url: 'https://xxxxxxx/ijskarwebhook.php'
method: POST
payload: '{
"state": "idle",
"attributes": {
"fan_mode": "auto",
"operation_mode": "idle"
}
}'
headers:
accept: 'application/json, text/html'
content_type: 'application/json; charset=utf-8'
verify_ssl: true
automation:
- alias: 'Test fire url'
trigger:
platform: time_pattern
minutes: '/1'
action:
- service: rest_command.my_request
data:
status: "At Work"
emoji: ":calendar:"