Upload an article image
POST
/oauthLast modified: 2 年前
Maintainer:
Request
Body Params multipart/form-data
module
string
required
Module name, Cannot be changed.
Example:
channel/article_image_upload
file_img
file
required
Image file, supports image/gif, image/jpg, image/jpeg, image/png formats, with a maximum size of 5mb
Example:
cmMtdXBsb2FkLTE2ODkxNDg1OTIwMjctNA==/test.jpeg
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
required
msg
string
required
server_runtime
number
required
data
object
required
img_url
string
required
Image Link
Example
{
"code": 0,
"msg": "string",
"server_runtime": 0,
"data": {
"img_url": "string"
}
}
Last modified: 2 年前