WebException: Error: NameResolutionFailure in unity3d
问题 Here is my script that request Google Speech API. public string HttpUploadFile(string url, string file, string paramName, string contentType) { file = @"C:\Users\Faizan Khan\AppData\LocalLow\DefaultCompany\GoogleSpeechTest\testing\testing7.060799.wav"; Debug.Log(string.Format("Uploading {0} to {1}", file, url)); HttpWebRequest wr = (HttpWebRequest)WebRequest.Create(url); wr.ContentType = "audio/l16; rate=44100"; wr.Method = "POST"; wr.KeepAlive = true; wr.Credentials = System.Net