HttpPost

public static string HttpPost(string url, string postData, bool isPost = true)
{
string method = isPost ? "POST" : "GET"; HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = url,
Method = method,
ContentType = "application/x-www-form-urlencoded",
Postdata = postData,
};
HttpResult result = http.GetHtml(item);
return result.Html;
}

  

上一篇:iphone忘记锁屏密码却记得appleID密码的不保存数据的刷机办法


下一篇:BaseAction 使用