mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
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:
parent
ad6cd6dd33
commit
565859914c
@ -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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user