Update webhook documentation for trigger.query (#9202) (#9346)

This commit is contained in:
Klaas Schoute 2019-04-29 08:10:46 +02:00 committed by Fabian Affolter
parent c090e74c56
commit ad90494bc7

View File

@ -231,7 +231,7 @@ automation 3:
### {% linkable_title Webhook trigger %}
Webhook triggers are triggered by web requests made to the webhook endpoint: `/api/webhook/<webhook_id>`. This endpoint does not require authentication besides knowing the webhook id. You can either send encoded form or JSON data, available in the template as either `trigger.json` or `trigger.data`.
Webhook triggers are triggered by web requests made to the webhook endpoint: `/api/webhook/<webhook_id>`. This endpoint does not require authentication besides knowing the webhook id. You can either send encoded form or JSON data, available in the template as either `trigger.json` or `trigger.data`. URL query parameters are available in the template as `trigger.query`.
```yaml
automation: