将curl转换为pycurl

时间:2018-05-17 17:14:12

标签: curl pycurl

任何人都可以帮助我将以下卷曲(从IBM沃森语言到文本)转换为pycurl:

curl -X POST -u {username}:{password} \

- 标题“Content-Type:audio / flac”\

- data-binary @ {path_to_file} audio-file.flac \

https://stream.watsonplatform.net/speech-to-text/api/v1/recognize

0 个答案:

没有答案