var app = require("ballroom"); app.controllerName("Application"); app.post("/login",{"rc_handler":"authenticate"}, function(req,resp){ var login = req.params.login; var password = req.params.password; resp.send(true); }); app.get("/rps_login",{"rc_handler":"rps_authenticate"}, function(req,resp){ var login = req.params.login; var password = req.params.password; resp.send(true); });