Add curl sample for template endpoint
This commit is contained in:
parent
97a836c5b7
commit
1666ba7535
1 changed files with 8 additions and 0 deletions
|
@ -389,6 +389,14 @@ Returns the rendered template in plain text.
|
||||||
Paulus is at work!
|
Paulus is at work!
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Sample `curl` command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
|
||||||
|
-d '{"template": "It is {{ now }}!"}' \
|
||||||
|
http://localhost:8123/api/template
|
||||||
|
```
|
||||||
|
|
||||||
#### {% linkable_title POST /api/event_forwarding %}
|
#### {% linkable_title POST /api/event_forwarding %}
|
||||||
Setup event forwarding to another Home Assistant instance.
|
Setup event forwarding to another Home Assistant instance.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue