Hi Team,
I have users upload any document on UI (like word, excel, image…etc), code is working fine to upload but the content is not coming up. How to pass the content for these different type of formats?
Please note that these files will be password protected by the users. It worked well on Moralis server, I am trying to achieve same on the self host parse server.
Please advice. Thank you
const data = fileInput.files[0];
const options = {
abi: [
{
path: data.name,
content: data,
},
],
};
const path = await Web3Api.storage.uploadFolder(options);
console.log(path);