adding ability to provide username and password when creating new task

This commit is contained in:
Andrew Mee
2015-07-03 16:23:45 +01:00
parent d6bc045d52
commit 91a4c8391f
6 changed files with 73 additions and 1 deletions

View File

@@ -41,7 +41,9 @@ function route (app) {
url: req.body.url,
standard: req.body.standard,
ignore: req.body.ignore || [],
timeout: req.body.timeout
timeout: req.body.timeout,
username: req.body.username,
password: req.body.password
};
app.webservice.tasks.create(newTask, function (err, task) {
if (err) {