标签:android http io os 使用 ar strong sp on
登录方式有两种:1)用户名密码登陆,code 为 5401 (2) IMSI和TOKEN 登陆, code 为93
POST /tcpbus/mobile HTTP/1.1
Host: clientaccess.10086.cn:9043
Accept: */*
Accept-Encoding: gzip
Code: 5401
Content-Type: text/xml;charset=utf-8
User-agent: GreenPoint.Inc
Connection: close
Content-Length: 415
<ROOT>
<MB_TYPE>0</MB_TYPE>
<IMEI>359876051293900</IMEI>
<IMSI>4600045****5694</IMSI>
<SYS_TYPE>1</SYS_TYPE>
<SYS_VER>4.2.2</SYS_VER>
<CLIENT_VER>1.9.1</CLIENT_VER>
<NET_TYPE>1</NET_TYPE>
<SCN_TYPE>4</SCN_TYPE>
<TEL_NO>151****5005</TEL_NO>
<LOC_CITY>0351</LOC_CITY>
<LOC_PROVINCE>351</LOC_PROVINCE>
<PS>******</PS>
<EB>1</EB>
<DISTINGUISH>com.greenpoint.android.mc10086.activity</DISTINGUISH>
</ROOT>
CODE 5401 使用用户名密码登陆,使用291也可以
TEL_NO 用户号码
PS 密码
POST /tcpbus/mobile HTTP/1.1
Host: clientaccess.10086.cn:9043
Accept: */*
Accept-Encoding: gzip
Code: 93
Content-Type: text/xml;charset=utf-8
User-agent: GreenPoint.Inc
Connection: close
Content-Length: 197
<ROOT>
<EB>0</EB>
<CLV>1.9.1</CLV>
<SYTP>1</SYTP>
<IMEI>3598760****3918</IMEI>
<IMSI>4600045****9693</IMSI>
<TOKEN>5nrJwRX6JxlgTROG********b5cNflqNrIj0eUCYS3cL5HvYkY********** lZSc</TOKEN>
</ROOT>
标签:android http io os 使用 ar strong sp on
原文地址:http://www.cnblogs.com/diylab/p/4017822.html