Can't get upload file via app.request

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

Вот ответ на ваш вопрос:

No I find the issue

I had to combine the two object on only one
Instead of use convertToData method, I use formData = new FormData(); and append formData + File
So I can do data: formData

And I receive well all in my php !

1 Like