Hi Team,
I am loving Webhooks that work fantastically locally or remotely via Nabucasa!
I am wondering if someone can point me to patterns on how to pass a payload inside of a webhook call. For instance: http://:8123/api/webhook/wh_turn_on_script, but passing a variable payload so that I can:
- script_to_turn_on_audio
- script_to_play_tts_messages
- script_to_play_announcement
I believe there is a pattern inside of templates to “catch” the payload, but cannot find in docs or community threads.
Any help is appreciated.
~Bryan
P.S. Tip to other users – Postman or CURL are your friends when testing webhooks. Just remember to mark at POST message instead of default GET verb, and application/json payloads.