Hi Sergiy, I looked at the link but there is not much there we know already.
I tried several ways trying to understand where my crossOrigin issue comes from.
I found out something interesting with the _files collection in the appery DB:
a/ when uploading files from the DB console, the "owner" column does not get any number,
b/ at the contrary, when uploading a file using the API through the app with an INPUT set to "file", it does fill in the "owner" column with a number.
as a result, when I process my code in above post using a "a" file without ownerCode = no crossOrigin issue,
but when it is the case of a file "b", the crossOrigin error pops up !
may I ask you to look into this ?
I am not asking to strengthen the upload-through-DB-console way with a owner number which will block my code,
but help me with the header which will allow to process my code even though the file was uploaded through the app INPUT file field.
thk you very much in advance,
best
Eric