欢迎光临 超级鹰,专业验证码识别平台

QQ:800198998  点击发送消息给对方

首页 > API文档

超级鹰首页>开发文档>超级鹰核心接口发送截包

multipart/form-data 上传图片文件流(内存流,二进制流)时必用

POST /Upload/Processing.php HTTP/1.1
Cache-Control: no-cache
Connection: Keep-Alive
Content-Type: multipart/form-data; boundary=pncfinqswaeimquy
Accept: */*
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Content-Length: 2915
Host: upload.chaojiying.net

--pncfinqswaeimquy
Content-Disposition: form-data; name="user"

userabc
--pncfinqswaeimquy
Content-Disposition: form-data; name="pass"

passpass
--pncfinqswaeimquy
Content-Disposition: form-data; name="softid"

96001
--pncfinqswaeimquy
Content-Disposition: form-data; name="codetype"

1902
--pncfinqswaeimquy
Content-Disposition: form-data; name="userfile"; filename="cc.jpg"
Content-Type: application/octet-stream

这里是数据流区
--pncfinqswaeimquy--

 

application/x-www-form-urlencoded    用这个时要注意urlencode

POST /Upload/Processing.php HTTP/1.1
Cache-Control: no-cache
Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded
Accept: */*
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Content-Length: 2915
Host: upload.chaojiying.net

user=userabc&pass=passpass&softid=96001&codetype=1902&file_base64=base64字符串
 

application/json

POST /Upload/Processing.php HTTP/1.1
Cache-Control: no-cache
Connection: Keep-Alive
Content-Type: application/json
Accept: */*
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Content-Length: 2915
Host: upload.chaojiying.net

{"user":"userabc","pass":"passpass","softid":96001,"codetype":1902,"file_base64":"base64字符串"}
 

如果你想发送密码的加密值,就要把发送参数 pass 改为 pass2,然后把密码进行 md5加密后再发送这个值

比如,你可以发送 pass=123456 或者 pass2=e10adc3949ba59abbe56e057f20f883e

马上开始图片识别       成为用户      或者      查看开发文档

会员

  24小时客服热线

0317-431-6618

电话 充值
Top