gillesdemey / google-speech-v2

:speech_balloon: Reverse Engineering Google's Speech To Text API (v2)
468 stars 84 forks source link

forbidden error #23

Open MuhammadFaizanKhan opened 7 years ago

MuhammadFaizanKhan commented 7 years ago

I am using this url http://www.google.com/speech-api/v2/recognize?output=json&lang=en-us&key=" + apiKey;

with these settings

ContentType = "audio/l16; rate=44100";

but getting WebException: The remote server returned an error: (403) Forbidden. System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data)