摘要: WebClient:1.post字符串 public string SendField_wc(string URL,string CookieData, string postData) { WebClient myWebClient = new WebClie... 阅读全文
posted @ 2015-01-13 10:39 copperWang 阅读(918) 评论(0) 推荐(0) 编辑
摘要: C# HttpWebRequest和 webclient 的POST方法WebClient:1.post字符串 public string SendField_wc(string URL,string CookieData, string postData) { ... 阅读全文
posted @ 2015-01-13 10:37 copperWang 阅读(571) 评论(0) 推荐(0) 编辑
摘要: public static string Post(string url, string postData) { byte[] byteArray = Encoding.UTF8.GetBytes(postData); try { HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); request.ContentType = "application/x-www-form-ur... 阅读全文
posted @ 2014-03-17 11:50 copperWang 阅读(468) 评论(0) 推荐(0) 编辑
摘要: Ajax GET示例1请求页面返回:{"errcode":40018,"errmsg":"invalid button name size"}function Public_Menu() { $.ajax({ type: "GET", url: "Ajax_FinalPublicMenu.aspx", dataType: "json", success: function (data) { var retcode = data.errmsg; if (retcode = &q 阅读全文
posted @ 2014-03-17 09:50 copperWang 阅读(209) 评论(0) 推荐(0) 编辑