HttpHelper http = new HttpHelper();
HttpItem item = new HttpItem()
{
URL = baseurl+"wxVote",//URL这里都是测试URl 必需项
Method = "post",//URL 可选项 默认为Get
ContentType = "application/x-www-form-urlencoded",//返回类型 可选项有默认值
Postdata = jsonParam,//Post要发送的数据
Cookie=cookie
};
item.Header.Add("X-CSRF-TOKEN", token);
//得到新的HTML代码
HttpResult result = http.GetHtml(item);
//获取请请求的Html
string posthtml = result.Html;
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |