Need some help in api

i want to upload file in google app scirpt which i am able to, but i want to upload files for notes, assignments and timetable so i have a doubt that how will the app script identify it? And one solution I have is sending plain text along with file, the plain text will contain notes or assignment or timetable accordingly but i don’t know how to add the plain text along with do post method


App script code:
> function doPost(e) {

      var data = Utilities.base64Decode(;
      var blob = Utilities.newBlob(data, e.parameters.mimetype, e.parameters.filename);
      return ContentService.createTextOutput("Your File Successfully Uploaded");

see your other thread


1 Like

I don’t think you can do this at the same time, I might be wrong…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.