直接写成啦一个MyNet.cs类方便使用 get/post方法请求 //get请求 MyNet.SendRequest("http://www.baidu.com"); //post请求 var param = new Dictionary<string, string> { {"a","this is a param" }, {"b","this second param"} }; MyNet
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Web; using System.Web.Http; using fastJSON; using System.IO; using System.Net.Http; using DoMain; using System.Web.Configuration; namespace PreAlert_Web