|
楼主 |
发表于 2017-3-23 15:36:35
|
显示全部楼层
Host: passport.suning.com
Connection: keep-alive
Content-Length: 310
Accept: application/json, text/javascript, */*; q=0.01
Origin: https://passport.suning.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2979.2 Safari/537.36
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://passport.suning.com/ids/ ... &loginTheme=b2c
Accept-Encoding: gzip, deflate, br
Accept-Language: zh-CN,zh;q=0.8
这是 用FIDDLER 抓的头文件
URL = "https://passport.suning.com/ids/login",//URL 必需项
Method = "post",//URL 可选项 默认为Get
Referer = "https://passport.suning.com/ids/login?service=https%3A%2F%2Fssl.suning.com%2Fwebapp%2Fwcs%2Fstores%2Fauth%3FtargetUrl%3Dhttp%253A%252F%252Fwww.suning.com%252F&method=GET&loginTheme=b2c",//来源URL 可选项
Postdata = string.Format(sp, UserName, spwd2, Service),
ContentType = "application/x-www-form-urlencoded",
ResultCookieType = ResultCookieType.CookieCollection,
KeepAlive = true,
Host = "",
UserAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2979.2 Safari/537.36",
ResultType = ResultType.String
这是 程序中 的头文件 FIDDLER 里一直能够正确返回 程序里 返回一个 系统正在维护的页面
求助啊 飞哥 |
|