string Url = ""; string result = ""; HttpWebRequest req = (HttpWebRequest)WebRequest.Create(Url); req.Method = "POST"; req.ContentLength = 0;//一定要添加这句 HttpWebResponse resp = (HttpWebResponse)req.GetResponse(); Stream stream = resp.GetResponseStream(); //获取内容 using (StreamReader reader = new StreamReader(stream, Encoding.UTF8)) { result = reader.ReadToEnd(); }