HttpResponse response = HttpRequest.post(url)
.form("a",JSON.toJSONString(a))
.form("multipartFiles", multipartFiles)
.execute();
这样写的话报错
the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded;charset=UTF-8
求解决办法
content type把application/json取消掉