|
楼主 |
发表于 2014-4-18 14:59:13
|
显示全部楼层
item = new HttpItem()
{
URL = "https://sso.letv.com/user/loginsubmit",//URL 必需项
Method = "POST",//URL 可选项 默认为Get
ContentType = "application/x-www-form-urlencoded; charset=utf-8",//返回类型 可选项有默认值
Referer = "http://sso.letv.com/user/logincallback/err/401/callback/iframeSubmit_139778875290118192",//来源URL 可选
Postdata = postdata,//Post数据 可选项GET时不需要写
PostDataType = PostDataType.String,//默认为传入String类型,也可以设置PostDataType.Byte传入Byte类型数据
ResultType = ResultType.String,//返回数据类型,是Byte还是String
CookieCollection = allCookie,//可以直接传一个Cookie集合进来
ResultCookieType = ResultCookieType.CookieCollection,
}; |
|