philzhou

导航

06 2011 档案

使用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 philzhou 阅读(858) 评论(1) 推荐(0) 编辑