身份证识别 API
开发环境
开发环境
POST
http(s): //api.xf-yun.com/v1/private/s5ccecfce
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.comhttp(s): //api.xf-yun.com/v1/private/s5ccecfce' \
--header 'Content-Type: application/json' \
--data-raw '{
"header": {
"app_id": "xxxxxxxx",
"status": 3
},
"parameter": {
"s5ccecfce": {
"result": {
"encoding": "utf8",
"format": "json",
"compress": "raw"
},
"template_list": "id_card"
}
},
"payload": {
"s5ccecfce_data_1": {
"encoding": "jpg",
"status": 3,
"image": "/9j/2wBDAA0JCgsK..."
}
}
}'
响应示例响应示例
{
"header": {
"code": 0,
"message": "string",
"sid": "string"
},
"payload": {
"result": {
"compress": "string",
"encoding": "string",
"format": "string",
"text": "string"
}
}
}
请求参数
Body 参数application/json
返回响应
修改于 2023-12-21 02:30:18