diff --git a/source/developers/rest_api.markdown b/source/developers/rest_api.markdown index 3cce09cf727..cb70087e3de 100644 --- a/source/developers/rest_api.markdown +++ b/source/developers/rest_api.markdown @@ -389,6 +389,14 @@ Returns the rendered template in plain text. 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 %} Setup event forwarding to another Home Assistant instance.