From 0da3258bbf2d2bf8347ca41b1176d10d228bb512 Mon Sep 17 00:00:00 2001 From: tiagofreire-pt <41837236+tiagofreire-pt@users.noreply.github.com> Date: Sat, 23 Nov 2019 17:02:55 +0000 Subject: [PATCH] Correcting the function now to now() (#358) --- docs/external_api_rest.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/external_api_rest.md b/docs/external_api_rest.md index cf2a93d3..5677d266 100644 --- a/docs/external_api_rest.md +++ b/docs/external_api_rest.md @@ -480,7 +480,7 @@ Sample `curl` command: ```bash $ curl -X POST -H "Authorization: Bearer ABCDEFGH" \ -H "Content-Type: application/json" \ - -d '{"template": "It is {{ now }}!"}' http://localhost:8123/api/template + -d '{"template": "It is {{ now() }}!"}' http://localhost:8123/api/template ``` #### POST /api/config/core/check_config