app.post('/', (request, response) => {. var newTodo = JSON.parse(request.body);. newTodo.id = todos.length + 1;. todos.push(newTodo);.
確定! 回上一頁