摘要: 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) 编辑