upload
开发中
POST
/upload
最后修改时间:2025-02-14 10:29:04
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://m1.apifoxmock.com/m1/4071143-0-default/upload'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 0,
"msg": null,
"data": {
"id": "1890348464854872065",
"fileName": "fbd115dd221243fd804c6f49398c17d2.png",
"original": "test.png",
"bucketName": "local",
"dir": "",
"type": null,
"groupId": null,
"fileSize": "199441",
"hash": "07a560a0248370bd2a6c3012be4e8133",
"createBy": "admin",
"createTime": "2025-02-14 18:32:49",
"updateBy": "admin",
"updateTime": "2025-02-14 18:32:49",
"delFlag": "0",
"url": "/file/sys-file/oss/file?fileName=16fb03c7d4684d848936c549dd157c14.jpg"
},
"ok": true
}
修改于 2025-02-14 10:29:04