hi tnx a lot for the help.
i got how can handle it . but in the first part i get an error from
parseMultipartData
and that is “Invalid ‘data’ field. ‘data’ should be a valid JSON.”
this is the data im sending from front end
let formData = new FormData();
formData.append(‘files’, this.file);
formData.append(‘data’, “example”);
const res2 = await Axios.put(“exampleURL”,
formData,
{
headers: {
‘Content-Type’: 'multipart/form-data
}
}
)
i know im sending the data the wrong way i dont know how should i send it
and ty again for your help mate <3