Expected behavior
When uploading a csv file it was expected to be received as a csv file format
Actual behavior
But getting base64 data of file
When uploading a csv file it was expected to be received as a csv file format
But getting base64 data of file
Hey @Amit_Mundra,
You simply needs to decode it. You can do as follow to have your csv as a string:
const buffer = Buffer.from(myCsvAsBase64, 'base64');
const myCsv = buffer.toString('utf-8');
Lett me know if that fix your issue
Thanks. Did something similar. Was able to fix it.
Do we have to do similar thing for image?
Yes yo do need to do the same for images