获取验证码图片
优质
小牛编辑
127浏览
2023-12-01
接口说明
获取验证码图片
如需调用,请访问 开发者文档 来查看详细的接口使用说明
该接口仅开放给已获取SDK的开发者
如开启https功能,请求地址的协议应改为https,如:https://www.example.com/wish3dearth/api/access/v1.0.0/getLicenseInfo
API地址
GET
/authcenter/api/verify/v1.0.0/captchaJSONP
是否需要登录
否
请求字段说明
无
响应字段说明
无
响应成功示例
var sessionId='9B4578AA3FB4BDA5492FBB1C6896A16B', captcha='data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAAyCAIAAACWMwO2AAAU1UlEQVR42u3deZxV5XkH8ElwwQUX3AARkUVUUFBQFCUiI8qigsiisqosIgiICriBAhZBh1XABRRREBQQWcYBBLokTZO0iUlT0SbVJk3b2NS0sU2a1uXTb+bNPb7cudyZuXMH+Xy4zx/3c+fcc97t+b2/5/e85z1niv50X/uzlP15yv4ism+m7Fsp+8vIvp2yv0rZdyL7bsq+l7K/TtnfRPb9lP0gsnci+2HKfpSyv43sxyn7u5S9G9nelL2XsvdT9veR/SRlP03ZP0T2Qco+jOwfI/tZyn6esn+K7Bcp++eU/UvK/jWyX6bso5T9W2S/Stm/p+zjyH6dsv+I7D8j+03KPknZf6XsvyP7bcp+l7L/iez3KfvflP1fZEUZUZURWN+MrCKwvh1ZRWB9N7KaAOuHkVUE1o8jqwisvZHVHrB+FllFYP0isloC1q8jywis30RWS8D69NNPi7LTVUZgfSuyLHSVEVjfi6wisL4fWXZg/SiyLHSVEVjvRVYRWD+JrCKwPogsO7B+HlkWusoIrF9GVhFYv4qsJsD6JLKKwPptZBWB9fvIDjSwqhgHMwLrB/tabcfBjMD6aWQHIA5mBNZHkWWhq4zAyiEOZgTW7yLLQlfVA1ZBYBUEVg4Cax9gFQRWQWDlS2BlBlZBYBUEVg0FVu7AKisre/755+fMmTNlypTt27cXBFZBYFUDWFkE1uTJk4tSBmEFgVUQWJmBVV2BhasSYM2dO7cgsAoCK0ZVBmBVUWBhqQRYU6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XuwpE3h7mR8d+uTTz6pVYH1R2Ad+BeNhmdHMRABQSknm0kSJ6GKsDQVH5d746cEW1mAxWdjx47t1KkTImnUqFHYXIqHdu7c+d5772XZi6xtixcvBkrhI2wZDU+PmfRwGT/vpSM4A0U5k8bv0KGDTHbUqFHGwaBVZZN7WHoYPnx4slanohEjRpCAIQ4GM9pOa9asWbxNrXPnzmVlZU6rFFgbN24MS1/xPvLaFljpwDrALxp1JnhxpNGU/0usgEwo4dHi4mI5Wps2bWJgCT0UWBZgJQLLr1u3boUk6Z7YunDhwpYtWxIrrtWALMAifTAEtwEx0GiJuIYptWr37t3xU4RONkpLlizxq15gIDgmDYGMQqoKsJxGty1dulTH8Ra2Gzx4MLiAQvxYTqA3mMPiga7CHUktqVRgMY4L9C/bgHsSMHlHQ+0JrC+++KLo4HnRqE9OJa5fKzc1Tps2LVasHDB9+vQqvgfLp/TKF/3SEjpdv1yY/SlCXxykS1Am54WsE2L4Q4PTHk/94IMPtFNFwCQOojSZWtjZV5WnCH1qs9AJ8fIPcwCeXBjTVdiO7NOMov8QcFiPNVuUVpX3YAGf7ii2lt6DVSvAqr2nCH2hlLdv306Ah+Qu+Jjq1+Dae9Fo+CJt1IA1a9aIStqsd2HXVMXnntGYdvqiUlUYk7DaXq3XNOh++JL9NQ0ud4SuHz9+PBGZtqnhq3oPVkaB9QdgHeRvchfR8JagJlUUm0xuaKvtF42qXSAGYjwhfIikyqzKaxpKS0sNy4F5TYNfv/IXje5PYO0DrMKb3OMH6gNF+UnJhReNVjcOZgZW4U3uhReN1lBg1QhYhTe5F140uj+BVQmwCv8qp/Am99wE1pfAKgiswpvc8yiw2P8DM7+kSauFob4AAAAASUVORK5CYII=';
响应失败示例
{ "code": 500, "message": "未知错误,请及时联系管理人员进行处理" }
响应接受类型
application/json
响应状态码
HTTP状态码 | 原因 |
---|---|
200 | OK |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
示例代码
$.ajax({ url: '/authcenter/api/verify/v1.0.0/captchaJSONP', type: 'GET', data: '', dataType: 'text', cache: false, contentType: 'application/json', xhrFields: { withCredentials: true }, crossDomain: true, success:function(data){ // 成功返回值 }, error:function(XMLHttpRequest, textStatus, errorThrown){ } })