I'm trying to use IBM Watson Speech to Text
and am having trouble with the cURL structure given the documentation seems to show username:password
as authentication but this is nowhere to be found.
I came across this question which has a similar issue How to get username & password for Watson Text to Speech Service?
When I include the api-key instead of the username:password
I'm asked to enter my password. Is this still the right cURL request or has it moved elsewhere?
curl -X POST -u <api-key> \
--header "Content-Type: audio/flac" \
--data-binary @audio-file.flac \
"https://stream.watsonplatform.net/speech-to-text/api/v1/recognize"
Thanks :)