随笔分类 -  C# http get post

摘要:WebForm:(假如请求这个页面有get和post两种情况)Request.ServerVariables("Request_Method")="POST"Request.ServerVariables("Request_Method")="GET"Request.RequestType=="PO... 阅读全文
posted @ 2015-11-09 11:40 就是这么真实 阅读(976) 评论(0) 推荐(0)
摘要:get: /// /// GET请求与获取结果 /// public static string HttpGet(string Url, string postDataStr) { HttpWebReq... 阅读全文
posted @ 2015-11-05 18:30 就是这么真实 阅读(1808) 评论(0) 推荐(0)