Skip to content

Commit 73b0f05

Browse files
committed
corrected synthesize documentation from GET to POST
1 parent f2b524a commit 73b0f05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

watson_developer_cloud/text_to_speech_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def __init__(self, url=default_url, username=None, password=None, use_vcap_servi
3434

3535
def synthesize(self, text, voice=None, accept=None, customization_id=None):
3636
"""
37-
Returns the get HTTP response by doing a GET to /synthesize with text, voice, accept
37+
Returns the get HTTP response by doing a POST to /synthesize with text, voice, accept
3838
"""
3939
params = {'voice': voice, 'accept': accept, 'customization_id': customization_id}
4040
data = {'text': text}

0 commit comments

Comments
 (0)