我想把请求https://account.xiaomi.com/pass/changePassword修改密码的结果的html获取到,
下边是httpWatch的request的stream
[HTML] 纯文本查看 复制代码 POST /pass/changePassword HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Referer: [url]https://account.xiaomi.com/pass/changePassword?userId=218209913[/url]
Accept-Language: zh-CN
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
Host: account.xiaomi.com
Content-Length: 134
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: deviceId=wb_eb6465dc-8d5f-4c90-a9be-6bd854fa334f; uLocale=zh_CN; passToken=zEWxZJzy2vgR2pt1+UfC0BA9cXrkQt/jJOg9Kd+cKwEDkRkHNp410Ba/8fSq1jSBE7M5M4Qfrgxe+J65kCdcLWi3fmMIQGOjJH77G9AvR/ePo2b8bTuRzZ8wCOOT2sXKBl/t/qHZNlNuGCx9QTdmUzPTb5nHqbuu0TplN69WUknK/Kv4KBEOv8Cw7shxIP8HvB/hvdO94fjXMVLl+FdTb+OAd5Je1exAuU9jPNGX+KI=; userId=218209913; pExpireTime=-1; pwdToken=JQZJITdW9vk2c00nhsA/BPGTa7fRC1jIm2u2uK3OvAFFlC1Vw44Y3R8c6B4twx+Um0droSQk4x4jnn2h5Y7C+3y3zgJr2qBU7HBcTx/TTCg=; serviceToken=0QxjFrjieRMkJ7AH4gTZJJ0QwfvsECQ3UyCBK7+x43yguGaPfIJJqzWEvVkojDsrvFmQ4OumENmD/kNqbbqymRdjqXFOEJJe3fckivo3xjs=; passport_ph=eBq+gN5OFIVb3XAFm3JDMA==; JSESSIONID=aaavPOKlgqfbnblCg6Vnu; Hm_lvt_c64922fe907004774c797344b7063851=1389151941; Hm_lpvt_c64922fe907004774c797344b7063851=1389151946; xmuuid=XMGUEST-083D0570-7815-11E3-AF29-3FF7810415FF; mstuid=1389151748038_4; __utma=219621008.183875329.1389151748.1389151748.1389151748.1; __utmb=219621008.3.9.1389151936102; __utmz=219621008.1389151748.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); mstz=||1029799798.2; __utmc=219621008; userId=218209913; xm_user_www_num=0; XM_218209913_UN=%E8%A5%BF%E5%A4%A9%E4%B9%8B%E6%97%852; passport_slh=VEl0DaxGPPdBWJRTi4E+dD5Li5E=
oldpassword=baobei890121&password=baobei888&password2=baobei888&userId=218209913&passToken=&passport_ph=eBq%2BgN5OFIVb3XAFm3JDMA%3D%3D
下边是HttpWatch获取到的部分Content(希望得到的数据部分)
[C#] 纯文本查看 复制代码 <div class="hei_444 teln_m">
<div class="info">
<span class="left_name">
<span class="m_func">提示</span>
</span>
</div>
<div class="title">密码修改成功</div>
<div></div>
<div class="point_time">5秒后返回登录页面重新登录,如果没有请<a id="callback" class="action" href="/pass/serviceLogin">点击手动跳转</a></div>
</div>
<div class="suc_botm"></div>
</div>
</div>
我使用你写的工具配置上上边的参数获取到确是
[C#] 纯文本查看 复制代码 The URL has moved <a href="http://account.xiaomi.com/">here</a>
勾选了是否跳转后就直接跳转到了http://account.xiaomi.com
不知道说清楚了么,{:soso_e117:}
|