BigCDN上传媒体文件
POST
/此接口会有两个回调
请求参数
Body 参数application/json
type
string
必需
client_id
integer
必需
is_sync
integer
必需
data
object
必需
file_path
string
必需
expect_type
string
必需
同步调用下有用, big_cdn 或 cdn
示例1
{
"type": "WW_BIG_CDN_UPLOAD_MSG",
"client_id": 1,
"is_sync": 1,
"data": {
"file_path": "c:\\Users\\hanson\\Pictures\\750x1250-1.jpg",
"expect_type": "big_cdn"
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 2 年前