摘要:
原以为curl 模拟post file跟post string类似,-d参数一加 ,header一加就完了,这次遇到个问题,却怎么都搞不定。curl模拟post提交与客户端定的协议是:HeaderContent-Type: multipart/form-data;BodyContent-Disposition: form-data; name="file"; filename="xx.jpg"Content-Type: image/jpeg使用curl时,想模拟客户端,结果使用--form 参数传递body时报错:IllegalArgumentExcep 阅读全文
posted @ 2013-06-25 11:27
架构师刀哥
阅读(4959)
评论(0)
推荐(0)
浙公网安备 33010602011771号