我只有发帖网址,不确定发帖请求的实现方式,我试图以多部分形式发送数据的发帖请求中的文件并获取 org.apache.commons.fileupload.FileUploadException由于未找到多部分边界,请求被拒绝 我在这里做什么错了。
dataArr = ["1","3","9"];
oneArr = ["1","2","5"];
twoArr = ["4","9"];
updateData(dataArr){
for (let index = 0; index < dataArr.length; index++) {
let orgIndx = oneArr.findIndex(dataArr[index]);
oneArr.splice(orgIndx,1);
let orgIndx1 = twoArr.findIndex(dataArr[index]);
twoArr.splice(orgIndx1,1);
}
console.log("oneArr = "+oneArr);
console.log("twoArr = "+twoArr);