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"
}
}
}