How can I upload base64 data stored by qiniu cloud? How can I upload base64 data stored by qiniu cloud?
Reply content:
How can I upload base64 data stored by qiniu cloud?
Request package:
POST /put/
/key/
/mimeType/
/crc32/
/x:user-var/
Authorization: UpToken
Content-Type: application/octet-stream
Or
POST /putb64/
/key/
/mimeType/
/crc32/
/x:user-var/
Authorization: UpToken
Content-Type: application/octet-stream
: File size, required. In the future, it may be supported to pass in-1, indicating that the file size is subject to the http request body.
: Optional. If this parameter is not specified, the uptoken. SaveKey generates the key based on the SaveKey. Otherwise, the hash value is used as the key.
: Object MIME type. Optional. The default value is application/octet-stream.
: The crc32 check value of the file content. Optional. If this parameter is not specified, verification is not performed.
Response package:
200 OK { hash:
}
No one answered.