This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ var task = ["buy a new udemy course", "practise with kubernetes"];
|
||||
var complete = ["finish reading the book"];
|
||||
|
||||
|
||||
//post route for adding new task
|
||||
//post route for adding new task /
|
||||
app.post("/addtask", function (req, res) {
|
||||
var newTask = req.body.newtask;
|
||||
//add the new task from the post route
|
||||
|
||||
Reference in New Issue
Block a user