| Version 5 (modified by lee, 15 years ago) (diff) |
|---|
Passport
通行证登陆
Request
| URL | http://dev85.pcauto.com.cn/proxy/passport2/login |
| method | POST |
required form field
| name | desc |
| username | |
| password |
Response
| status | desc |
| 1 | 用户名和密码必须输入 |
| 2 | 用户不存在 |
| 3 | 密码错 |
| 4 | 必须输入验证码 |
| 5 | 验证码失败(您可能禁用了浏览器的Cookie) |
| 6 | 验证码失败(验证码超过15分钟会失效) |
| 7 | 验证码不正确 |
Example
curl http://dev85.pcauto.com.cn/proxy/passport2/login -d "username=admin&password=123456"
{"status":0,"message":"ok","session":"A2C1DF57F569F26BEB4110B03585A15D","userId":2}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)