使用HttpWebRequest模拟Web请求
摘要:http post 请求: string uri = "http://www.XXXXXXX.com/Default_Login.aspx?usercode=admin&password=123"; // Get an new instance from factory method. HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri); HttpWebResponse response =(HttpWebResponse) request.GetResponse(); Stream str
阅读全文
posted @ 2011-06-16 16:05