Hello
i am using this function to upload a folder full of json data as specified like this :
[ {
path: โ path needed here ',
content: โ base64 string etc. โ
} ]
my question here is : when i allow the user to upload an image with my client e.g i have an input of type โfileโ which allows a user to add an image or a folder to this field, then i donโt have the path to that object, for security reasons, i can turn the file into a base64 string but i canโt specify the exact path.
what shell i do in this case? any advice on how it can be done?