file 与 fileUrl 二选一,禁止同时传 data.valid === true | falsecurl --location 'https://app-test.fagougou.com/openapi/file/validate' \
--header 'access-token: 49ddcd0a2a91467bba7fa6d55a0f2c3b' \
--form 'file=@""' \
--form 'fileUrl="https://example.com/files/sample.docx"' \
--form 'filename="sample.docx"'data.valid 为准。{
"code": 200,
"message": "校验通过",
"data": {
"valid": true,
"lane": "office_word",
"guarantee_level": "open_and_probe",
"error": null
}
}