REST Service for POPCORN - ILIAS
alex
2025-06-22 e361f50baa6401297ec0e86f14593c5f58490329
app.js
@@ -109,6 +109,11 @@
      }
   })
   .post("/api/user", async function (req, res) {
      const user = req.body
      const res2 = await libIlias.importIliasUser(user) // TODO import or update if already available
      return res.send(res2)
   })
   .delete("/api/user", async function (req, res) { // DELETE ALL users
      const res2 = await libIlias.deleteAllUsers()