locked
Bing Voice Recognition - response 403 RRS feed

  • Question

  • I have downloaded the sample code provided and filled with my information, but i always get a 403 forbidden error. 

    AdmAuthentication admAuth = new AdmAuthentication("recog_test", "DdjZ2B2tlrf5n81H/HRFFKeUJ8WJyJ6LSEhlPeUbCwo=");

                string requestUri = args[0].Trim(new char[] { '/', '?' });

                /* URI Params. Refer to the README file for more information. */
                requestUri += @"?scenarios=smd";                                  // websearch is the other main option.
                requestUri += @"&appid=D4D52672-91D7-4C74-8AD8-42B1D98141A5";     // You must use this ID.
                requestUri += @"&locale=en-US";                                   // We support several other languages.  Refer to README file.
                //requestUri += @"&locale=ko-KR"; 
                requestUri += @"&device.os=wp7";
                requestUri += @"&version=3.0";
                requestUri += @"&format=json";
                requestUri += @"&instanceid=565D69FF-E928-4B7E-87DA-9A750B96D9E3";
                requestUri += @"&requestid=" + Guid.NewGuid().ToString();

                string host = @"speech.platform.bing.com";
                string contentType = @"audio/wav; codec=""audio/pcm""; samplerate=16000";

    Any idea will be very appreciated.

    Thanks

    Tuesday, July 28, 2015 8:02 AM