Open crcn opened 10 years ago
router.add({ "/classes/:classroom": { "GET": function (request, next) { next(null, content); }, "POST": function (request, next) { next(null, stream); }, "PUT": function (request, next) { next(null, content); }, "DELETE": function (request, next) { next(null, stream); } } });