安装
docker run -d -p 8080:8080 --name=amazoncaptcha peng49/amazoncaptcha
使用GET方式调用
curl http://localhost:8080?url=https://images-na.ssl-images-amazon.com/captcha/cucusdhr/Captcha_uglxutyncg.jpg
使用POST方式调用
curl -X POST —H 'Content-Type: application/x-www-form-urlencoded' -d image='验证码图片base64编码' http://localhost:8080
返回结果
{"code": 200, "message": "Success", "data": "KMJUJG"}
Content type
Image
Digest
Size
333 MB
Last updated
over 5 years ago
docker pull peng49/amazoncaptcha