我想知道BOX是否支持在分片的HTTP POST请求体中使用Content-transfer-encoding:BASE64。
我遇到的问题是,我生成了以下主体:
-------boundary
Content-Disposition: form-data; name="filename"; filename="82b.gif"
Content-Type: image/gif
Content-Transfer-Encoding: BASE64
$base64_encoded_binary_file_content
-------boundary
Content-Disposition: form-data; name="parent_id"
123456789
-------boundary--并将http请求发送到https://upload.box.com/api/2.0/files/content。
可以在那里创建该文件,但它与原始gif文件不同。它实际上是一个文本文件,其内容是base64编码的原始gif文件的字符串。
任何建议都会很有帮助。
谢谢。
发布于 2013-04-10 23:46:35
我们希望在未来增加对文件的Base64编码的支持,但目前还不支持。
https://stackoverflow.com/questions/15910405
复制相似问题