欢迎光临 超级鹰,专业验证码识别平台
首页 > API文档
curl 示例
查询信息:
curl https://upload.chaojiying.net/Upload/GetScore.php -H "Content-Type: application/json" -X POST -d '{"user":"用户名","pass":"密码明文"}'
curl https://upload.chaojiying.net/Upload/GetScore.php -H "application/x-www-form-urlencoded" -X POST -d 'user=用户名&pass=密码明文'
图片识别:
curl https://upload.chaojiying.net/Upload/Processing.php -X POST -F "user=用户名" -F "pass=密码明文" -F "softid=96001" -F "codetype=1902" -F "userfile=@/data/wwwroot/default/one.jpg"
curl https://upload.chaojiying.net/Upload/Processing.php -H "Content-Type: application/json" -X POST -d '{"user":"用户名","pass":"密码明文","softid":96001,"codetype":1902,"file_base64":"base64字符串"}'
curl https://upload.chaojiying.net/Upload/Processing.php -H "application/x-www-form-urlencoded" -X POST -d 'user=用户名&pass=密码明文&softid=96001&codetype=1902&file_base64"=base64字符串'
注意:如果是在 windows 下,双引号里内的双引号要加转义
如想查看详细信息,还可以加 -v
如果不想传输密码的明文,可以把 pass 参数替换为 pass2 后,传送密码的md5值。