Hey, I’ve been messing around with this for too long now. I have a rest command which works perfectly, but i really want to use rest notify instead. I can’t seem to manage getting the notification to work.
I want what I write in the notify message field to replace what is 101 in the command “version”.
Advise?
post command working perfectly:
method: POST
url: https://api.saf/aaaaaaaaaa
content_type: 'application/json'
payload: '{"command": 101}'
- name: notification I can't get to work
platform: rest
method: POST
verify_ssl: false
resource: https://api.saf/aaaaaaaaa
headers:
content-type: application/json
message_param_name: command