Hello, I try to upload file but I receive an empty $_FILES… Here’s my code :
app.request({
url: ‘***’,
method: ‘POST’,
data: { formData:formData, dataFile:dataFile },
cache: false,
dataType: ‘application/json’,
contentType: ‘multipart/form-data’,
processData: true,
…
The dataFile variable is a Blob Object and formData is my form with app.form.convertToData method
I receive formData but not the dataFile