文件
上传图片
上传图片文件,支持 jpg、jpeg、png、gif、webp 格式,大小限制 10MB。
上传图片文件,支持 jpg、jpeg、png、gif、webp 格式,大小限制 10MB。
X-API-Key<token>
In: header
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/files/images" \ -F file="string"{ "code": 0, "data": { "file_key": "string" }}