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.
This commit is contained in:
plyblu 2019-02-11 17:53:04 -06:00 committed by Franck Nijhof
parent ad6cd6dd33
commit 565859914c

View File

@ -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 %}