i'm trying to save file to my drive using NodeJS as backend. So far, i managed to access
and get the return like;
so far, no error message appears and i assume the request to the above url is succeed. what can i do with this data? i tried to use
fs.write() but then when i open the file, it corrupts. any response from you guys is highly appreciated.
Note: i tried using this method Download sharepoint document with REST as binary file not working for me but still didn't work.