| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- ### POST /signup/phone/exist 注册手机号是否已存在
- POST {{base_url}}/v1/auth/signup/phone/exist HTTP/1.1
- Content-Type: application/json
- {
- "phone": "15968875425"
- }
- ### POST /signup/email/exist 注册邮箱是否已存在
- POST {{base_url}}/v1/auth/signup/email/exist HTTP/1.1
- Content-Type: application/json
- {
- "email": "ynwdlxm@163.com"
- }
- ### POST /verify_code/captcha 图片验证码
- POST {{base_url}}/v1/auth/verify_code/captcha HTTP/1.1
- Content-Type: application/json
- ### POST /verify_code/phone 发送手机验证码
- POST {{base_url}}/v1/auth/verify_code/phone HTTP/1.1
- Content-Type: application/json
- {
- "phone": "15968875425",
- "captcha_id": "captcha_skip_test",
- "captcha_answer": "123456"
- }
- ### POST /verify_code/email 发送邮箱验证码
- POST {{base_url}}/v1/auth/verify_code/email HTTP/1.1
- Content-Type: application/json
- {
- "email": "summer@example.com",
- "captcha_id": "captcha_skip_test",
- "captcha_answer": "123456"
- }
- ### 注册用户
- POST {{base_url}}/v1/auth/signup/using-phone HTTP/1.1
- Content-Type: application/json
- {
- "name":"summer",
- "password":"secret",
- "password_confirm":"no_match",
- "verify_code": "123123",
- "phone": "00011059149"
- }
- ### 注册用户
- POST {{base_url}}/v1/auth/signup/using-email HTTP/1.1
- Content-Type: application/json
- {
- "name":"summer2",
- "password":"secret",
- "password_confirm":"secret",
- "verify_code": "123123",
- "email": "summer@testing.com"
- }
|