标签: 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”