2
如何從MultipartFormData獲取DataPart?我找不到任何API來獲取它。播放2如何從MultipartFormData獲取DataPart
Http.MultipartFormData formData = body.asMultipartFormData();
// simple form field
// there is NO getData() or something available
DataPart imageIdPart = formData.getData("dataKey");
// uploaded file
FilePart imagePart = formData.getFile("imageKey");
非常感謝您! – sealskej