Hi,
a curl command or Postman and any other client where I can specify the name of the form works fine but Webix.
The backend checks for the MIME data for the form field name as in the curl command
curl... --form 'file=@"/Users/luca2/Github/webix1/curl/IRISinEKS2.pdf
I am missing the way to specify that name. In this case it’s that file string.
I tried with
formData:{ name:"file"}
// and
formData:{ file="something"}
but it does not work.
We have also tried to change the backend MIME Data check that we have, to
- filename and even to
- upload (yes the value; getting desperate here)
because when debugging, I see that you send:
Content-Disposition: form-data; name="upload"; filename="myFile.pdf"
Content-Type: application/pdf
Any suggestion greatly appreciated…
Thanks