locked
Microsoft Cognitive Services Bing Speech API RRS feed

  • Question

  • Hello Support,

    I am sending a request to Bing Speech API using the Mozilla rest client. I am getting timeout response at audio file <g class="gr_ gr_58 gr-alert gr_spell ContextualSpelling ins-del multiReplace" data-gr-id="58" id="58">wav</g> type. I am using the trial version of the following API

    Post Request format

    https://speech.platform.bing.com/recognize?scenarios=smd&appid=D4D52672-91D7-4C74-8AD8-42B1D98141A5&locale=en-US&device.os=wp7&version=3.0&format=json&instanceid=565D69FF-E928-4B7E-87DA-9A750B96D9E3&requestid=4d4cf752-b457-47fe-b185-743f4a41ed4d

    Header

    Authorization: Bearer

     eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzY29wZSI6Imh0dHBzOi8vc3BlZWNoLnBsYXRmb3JtLmJpbmcuY29tIiwic3Vic2NyaXB0aW9uLWlkIjoiNGFhY2E5YmRkYjA0NDQxZjhjOWI3YzgzODA1M2RmMmUiLCJwcm9kdWN0LWlkIjoiQmluZy5TcGVlY2guUHJldmlldyIsImNvZ25pdGl2ZS1zZXJ2aWNlcy1lbmRwb2ludCI6Imh0dHBzOi8vYXBpLmNvZ25pdGl2ZS5taWNyb3NvZnQuY29tL2ludGVybmFsL3YxLjAvIiwiYXp1cmUtcmVzb3VyY2UtaWQiOiIiLCJpc3MiOiJ1cm46bXMuY29nbml0aXZlc2VydmljZXMiLCJhdWQiOiJ1cm46bXMuc3BlZWNoIiwiZXhwIjoxNDc5NDUzNDYzfQ.WYfukwMT8RpawowiBkm7q2mRvX4peaGA2HK6DXoBC9o

     

    Content-Type: audio/wav; samplerate=16000

     

    This is just sample of token which was generated, every time it will be vary as you have mentioned.

    In the response we are getting timeout error.

    Even I have downloaded the <g class="gr_ gr_57 gr-alert gr_spell ContextualSpelling ins-del multiReplace" data-gr-id="57" id="57">sdk</g> and used it  and  getting 503 errors.

    Please let me know what is wrong with the web request that we are posting.

    Thank you

    Sushma

    Friday, November 18, 2016 7:15 AM