http(s)://你的域名/include/captcha.php?t=xxxxxxxxx
http(s)://你的域名:999/include/captcha.php?t=xxxxxxxxx
返回协议头中包含cookie,将此cookie通过公共API提交,例如登录。
PS. 取验证码无需请求公共API,只需一次get访问即可。
Set-Cookie:CAPTCHA=35a8fecf675b94293c1281e84e8e71fd; expires=Sun, 16-Feb-2020 06:59:45 GMT; Max-Age=300; path=/
自行提取Cookie,在需要提交验证码的API中提交即可。
captcha_login
则登录时需要提交验证码.captcha_recharge
则充值时需要提交验证码.captcha_reg
则注册时需要提交验证码.captcha_repwd
则修改密码时需要提交验证码(同时包含发送邮件与修改密码).