地址:https:
成功的:
{
"service": "wx79ac3de8be320b71",
"api": "OcrAllInOne",
"data": {
"img_url": "",
"data_type": 3,
"ocr_type": 7
},
"client_msg_id": "1"
}
失败的:
{
"service": "wx79ac3de8be320b71",
"api": "OcrAllInOne",
"data": {
"img_data": "",
"data_type": 2,
"ocr_type": 7
},
"client_msg_id": "1"
}
报错:
{
"errcode": 9301002,
"errmsg": "call api service failed request id:[MLwOcy7CUlwB3KX_PNzTIH1001xdp5ASS-T-T-OfNHM6jnhnIPM_XK6Q8cvWoYuBf9Y] rid = 65e58873-51ce1a9d-13b320cc rid: 65e58873-51ce1a9d-13b320cc"
}
已解决,img_data时的base64需要把字符串前面的全去掉