[C#] 纯文本查看 复制代码 item = new HttpItem()
{
URL = "http://www.meilishuo.com/aj/twitter/fetch",
Method = "POST",
Cookie = Cookies,
NT = nt,//增加这个变量
Referer = "http://www.meilishuo.com/ihome",
//UserAgent = "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB7.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2)",
Postdata = string.Format("http%3A%2F%2Fitem.taobao.com%2Fitem.htm%3Fspm%3Da1z10.1.w4004-5431564482.14.qhobm2%26id%3D36608157926"),
};
result = http.HttpRequest(item);
MessageBox.Show(result.Html);
Cookie和NT的值都是能获取到的!
分享连接这样写为什么出现错误代码400
|