Azure-Samples / SpeechToText-REST

REST Samples of Speech To Text API
MIT License
22 stars 28 forks source link

request.getResponse returned 501 error. #2

Closed ravigav closed 6 years ago

ravigav commented 6 years ago

tried to invoke a speech to text api. By invoking the uri : https://speech.platform.bing.com/speech/recognition/interactive/cognitiveservices/v1?language=pt-BR passed a wav file as an input. When called request.GetResponse(). gave an exception "remote server returned an error : 501. Not implemented"

wolfma61 commented 6 years ago

The documentation for the REST API is here: https://docs.microsoft.com/en-us/azure/cognitive-services/speech/getstarted/getstartedrest

The sample on that page is working, assuming you are supplying correct parameters (keys, wave file format etc).

Wolfgang

zhouwangzw commented 6 years ago

I am closing the issue due to lack of response. Please open a new one if you still have issues.