接口导航

Verify Code API

识别验证码图片中的数字

接口地址

POST https://api.leepow.com/verifycode

请求体

{
  "image": "string (base64 encoded image data)"
}

代码示例

curl --location 'https://api.leepow.com/verifycode' \
--header 'Content-Type: application/json' \
--data '{
    "image": "base64_encoded_image_data"
}'

响应

返回验证码图片中识别出的数字

{
  "code": 0,
  "msg": "success",
  "data": "A1B2C3"
}