【发布时间】:2016-06-17 11:05:05
【问题描述】:
我曾经通过像这张图片这样传递参数来进行 thhpput 调用 httpput with param
现在我想像这张照片一样用身体 binay 方法改变 httpput body binary
我在 ios 中找到了解决方案:
[request setHTTPBody: dataToUpload];
我需要 Android 中的解决方案。非常感谢
【问题讨论】:
-
是的,像往常一样...设置内容类型,从http连接获取输出流,将文件复制到流,关闭流,就是这样(它不是多方)
标签: android multipartentity http-put