-
Notifications
You must be signed in to change notification settings - Fork 0
SMS verification
Insane edited this page Sep 9, 2015
·
1 revision
*** example: https://www.cocobabys.com/ws/verify/phone/13227882592 ***
json response:
{"error_code": 0}0 means success,1 means failure.
if the previous message is not expired, resend sms will get the following 400 error.
{"error_msg":"请求太频繁。","error_code":1}*** example: https://www.cocobabys.com/ws/verify/phone/13227882592 ***
request payload:
{"phone": "13227882592", "code": "1231"}code is a 4-digit number in string. The code will be expired in 10 minutes.
json response:
{"error_code": 0}0 means success,1 means failure.