#Xiaoyu API Document
Step 1: Get verification code
- POST:
/api/get_vcode
- Data:
phonenum
- Phone number
Step 2: Register
- POST:
/api/register
- Data:
phonenum
- Phone numberpassword
- MD5 hash of passwordcaptcha
- Verification code - On success:
data.uid
- User id - On failure:
data.message
- Error message
- POST:
/api/login
- Data:
phonenum
- Phone numberpassword
- MD5 hash of password - On success:
data.uid
- User id - On failure:
data.message
- Error message