使用from-data上传文件时候使用httpclient上传,不要加header,不要加header,不要加header,吧httpPost.setHeader(“Content-Type”, “multipart/form-data”)注释掉就可以了
解决 the request was rejected because no multipart boundary was found
最新推荐文章于 2023-06-13 23:46:40 发布
使用from-data上传文件时候使用httpclient上传,不要加header,不要加header,不要加header,吧httpPost.setHeader(“Content-Type”, “multipart/form-data”)注释掉就可以了