|
发表于 2014-10-24 11:01:00
|
显示全部楼层
安徽省芜湖市
↖ 采纳
提交地址:http://www.ximalaya.com/followings/create
POST /followings/create HTTP/1.1
Host: www.ximalaya.com
Connection: keep-alive
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.ximalaya.com
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Referer: http://www.ximalaya.com/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: _gat=1; 1&remember_me=n; 1&_token=16459586&29f7a58b087fc042670b0b507f51f90331d6; 1_l_flag="16459586&29f7a58b087fc042670b0b507f51f90331d6_2014-10-24 10:57:27"; Hm_lvt_4a7d8ec50cfd6af753c4f8aee3425070=1414119381; Hm_lpvt_4a7d8ec50cfd6af753c4f8aee3425070=1414119399; _ga=GA1.2.944346539.1414119381; 1_l_flag=%7B%3Avalue%3D%3E%2216459586%2629f7a58b087fc042670b0b507f51f90331d6_2014-10-24+10%3A57%3A30%22%2C+%3Adomain%3D%3E%22.ximalaya.com%22%7D
Content-Length: 21
following_uid=1000596
返回结果:
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 24 Oct 2014 03:00:24 GMT
Content-Type: application/json;charset=utf-8
Connection: keep-alive
Status: 200 OK
Set-Cookie: 1_l_flag=%7B%3Avalue%3D%3E%2216459586%2629f7a58b087fc042670b0b507f51f90331d6_2014-10-24+11%3A00%3A27%22%2C+%3Adomain%3D%3E%22.ximalaya.com%22%7D; domain=www.ximalaya.com; path=/; expires=Wed, 21 Oct 2015 06:46:21 -0000
Cache-Control: no-cache, no-store, must-revalidate
X-Content-Type-Options: nosniff
Content-Length: 96
{"res":{"is_followed":true,"is_mutual_followed":false,"be_followed":false},"msg":"\u6210\u529f"} |
|