上传文件(第二部)
POST
https://dev-felo-drive.s3.ap-northeast-1.amazonaws.com/
请求参数
参数名
类型
描述
必填
name
string
(name)示例:1.html
必填
policy
string
(policy)
必填
key
string
(path)示例:58709861_drive/uploads/2022/02/24/BvfEwa9g_1.html
必填
success_action_redirect
string
(callback)示例:https://drive-dev.felo.me/api/v3/callback/s3/D4vad2mA4hllBu4xQg7EN5D8H4Citiuq
必填
x-amz-algorithm
string
(固定)示例:AWS4-HMAC-SHA256
必填
x-amz-credential
string
(ak)示例:AKIA5M4ISMZHZ2QHMI6M/20220224/ap-northeast-1/s3/aws4_request
必填
x-amz-signature
string
(token)示例:ba531ac19f2daef10c10d1cb0e4b90674ac3229c2fcc1dd07bb3e354fc52b861
必填
x-amz-date
string
(key_time)示例:20220224T070337Z
必填
Content-Type
string
(类型自解析)示例:text/html
必填
file
string
(文件)示例:
必填
响应参数
参数名
类型
描述
必填
error
string
示例:回调会话不存在或已过期
必填