// curl 示例
curl --location --request POST '{{host}}/open-api/oss/interact_radar/upload?access_token=05f4495884dcf49162e37a725fa544ee' \
--form 'file=@"/*/*/*/*.pdf"'
--form '=@"/path/to/file"'| 错误码 | 说明 |
|---|---|
| 21800 | 文件上传参数无效 |
| 21801 | 文件上传大小超过限制 |
| 21802 | 文件上传失败 |
| 21803 | 文件读取失败 |
| 21804 | 文件保存失败 |
| 21805 | 文件上传类型不支持(目前仅支持png,jpg,jpeg,pdf格式) |
{
"file": "string"
}curl --location --globoff 'https://open.weibanzhushou.com/open-api/interact_radar/upload?access_token=' \
--header 'Content-Type: application/json' \
--data '{
"file": "string"
}'{
"file_info": {
"file_id": "string",
"file_type": "string",
"file_name": "string",
"file_url": "string",
"file_size": "string",
"file_bytes_count": 0
}
}