How build form-data sent MultipartFile to server using upload button

Try to send the header like that:
headers : { … formData .getHeaders() },