0

can anyone help me to transform the following curl(from IBM watson speech to text) into pycurl please:

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

--header "Content-Type: audio/flac" \

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

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

0 Answers0