From 676419da0ce5e5245473ee0bad5b8a969a1d564f Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Thu, 28 Jan 2021 09:34:24 +0100 Subject: [PATCH] Document TTS path (#16333) --- source/_integrations/tts.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_integrations/tts.markdown b/source/_integrations/tts.markdown index 46bbb9ee02c..e5da42d2522 100644 --- a/source/_integrations/tts.markdown +++ b/source/_integrations/tts.markdown @@ -162,6 +162,7 @@ The return code is 200 if the file is generated. The message body will contain a ```json { + "path": "/api/tts_proxy/265944c108cbb00b2a621be5930513e03a0bb2cd_en_-_demo.mp3", "url": "http://127.0.0.1:8123/api/tts_proxy/265944c108cbb00b2a621be5930513e03a0bb2cd_en_-_demo.mp3" } ``` @@ -169,7 +170,7 @@ The return code is 200 if the file is generated. The message body will contain a Sample `curl` command: ```bash -$ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \ +$ curl -X POST -H "Authorization: Bearer " \ -H "Content-Type: application/json" \ -d '{"message": "I am speaking now", "platform": "amazon_polly"}' \ http://localhost:8123/api/tts_get_url