Help for this page
curl -X POST \ -u "apikey:xxx" \ --header "Content-Type: audio/flac" \ --data-binary @{path_to_file}audio-file.flac \ "https://stream-fra.watsonplatform.net/speech-to-text/api/v1/recognize +"
my $url="https://stream-fra.watsonplatform.net/speech-to-text/api/v1/r +ecognize"; my $apikey="xxx"; ... Content_Type => 'audio/flac', Content => $audio );