From 565859914c5cdab78deda8a3540a2e145e640ff2 Mon Sep 17 00:00:00 2001 From: plyblu Date: Mon, 11 Feb 2019 17:53:04 -0600 Subject: [PATCH] Add webhook example to trigger.markdown (#8366) This makes more clear that: 1) https may be needed rather than http, 2) data is not needed for a webhook trigger to function, and 3) "curl" is a good way to test it. Hoping to save other people some of the time I spent figuring out how to get it to work. --- source/_docs/automation/trigger.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 7e872e03664..963fd7d8f7c 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -240,7 +240,8 @@ automation: webhook_id: some_hook_id ``` -You could test triggering above automation by sending a POST HTTP request to `http://your-home-assistant:8123/api/webhook/some_hook_id`. +You could test triggering the above automation by sending a POST HTTP request to `http://your-home-assistant:8123/api/webhook/some_hook_id`. An example with no data sent to a SSL/TLS secured installation and using the command-line curl program is `curl -d "" https://your-home-assistant:8123/api/webhook/some_hook_id`. + ### {% linkable_title Zone trigger %}