This is lance's blog, a full stack developer, this blog implemented by Python, welcome to sign up to my site and share your story.
- support article and picture
- support interactive
-
create a user: /user-centre/user POST
-
request:
| params | value | type | comment |
|---|---|---|---|
| username | lance | str | |
| 739056672@qq.com | str | ||
| password | ************ | str | |
| email_code | 3245 | str |
-
response:
- 201(Created)
- 400(Parameters invalid)
-
modify user info: /user-centre/{user_id} PUT
- request:
params value type comment password ************ str - response:
- 200(OK)
- 400(Parameters invalid)
-
login: /user-centre/session POST
- request:
params value type comment email/username lance/739056672@qq.com str password ************ str verify_code 12345 str - response:
params value type comment code 200/204 int error some thing wrong str -
forgotten password: /user-centre/session POST
- request:
params value type comment email/username lance/739056672@qq.com str password ************ str verify_code 12345 str - response:
params value type comment code 200/204 int error some thing wrong str
