申请成为达人
好热闹
Method and URL Structure
Method |
Resource URL |
POST |
/forum/expert_application/ |
Request Parameters
Name |
Description |
Required |
Default |
username |
用户名 |
YES |
|
password |
密码 |
YES |
|
nicakname |
昵称 |
YES |
|
portrait_uri |
头像 |
YES |
|
qq |
QQ号 |
YES |
|
wx |
微信号 |
YES |
|
profile |
个人介绍 |
YES |
|
name |
姓名 |
YES |
|
sex |
性别 |
YES |
|
date_of_birth |
出生日期 |
YES |
|
industry |
职业 |
YES |
|
school |
学校 |
NO |
|
hobbies |
兴趣 |
NO |
|
provincial |
省 |
YES |
|
city |
市 |
YES |
|
area |
区 |
YES |
|
town |
镇 |
NO |
|
address_datail |
详细地址 |
YES |
|
skills |
技能列表 |
YES |
|
skill_name |
技能名称 |
YES |
|
skill_price |
技能价格 |
YES |
|
Request
{
"username":"username",
"password":"password",
"nickname":"nickname",
"portrait_uri":"http://www.haorenao.cn/static/xxxx.png",
"qq":"12345678",
"wx":"00cc_xxx",
"profile":"user_profile",
"name":"xiaoming",
"sex":"M",
"date_of_birth":"1990-01-01",
"industry":u"职业",
"provincial":u"北京",
"city":u"北京",
"area":u"朝阳区",
"town":u"樟木头镇",
"address_detai":u"滨海路麒麟花园9号",
"skills": [
{
"skill_name":u"园艺",
"skill_price":3.3,
}..]
}
cURL Example
curl www.haorenao.cn/forum/expert_application/
JSON Response
Name |
Description |
ret |
标识是否成功。ok, 成功; failed, 失败 |
reason |
失败原因,比如:身份验证失败 |