火车票识别 API
开发环境
开发环境
POST
http(s): //api.xf-yun.com/v1/private/s19cfe728
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.comhttp(s): //api.xf-yun.com/v1/private/s19cfe728' \
--header 'Content-Type: application/json' \
--data-raw '{
"header": {
"app_id": "XXXXXXXX",
"status": 3
},
"parameter": {
"s19cfe728": {
"template_list": "train_ticket",
"result": {
"encoding": "utf8",
"compress": "raw",
"format": "json"
}
}
},
"payload": {
"s19cfe728_data_1": {
"encoding": "jpg",
"status": 3,
"image": "/4AAQSkZJRgA..."
},
}
}'
响应示例响应示例
{
"header": {
"code": 0,
"message": "string",
"sid": "string"
},
"payload": {
"result": {
"compress": "string",
"encoding": "string",
"format": "string",
"text": "string"
}
}
}
请求参数
Body 参数application/json
返回响应
修改于 2023-12-21 02:45:02