hi everyone!
hope you're doing great!
i have some troubles uploading pictures to my drive, going to attach the aia file and the script too, i cant understand why inst working
function doPost(e) {
var data = Utilities.base64Decode(e.parameters.data);
var blob = Utilities.newBlob(data, e.parameters.mimetype, e.parameters.filename);
var fileID = DriveApp.getFolderById(e.parameters.folderId).createFile(blob).getId();
return ContentService.createTextOutput(fileID);
}
Centro_Poliss_Lato_utente.aia (1.9 MB)