所以指示说:
这是我到目前为止(我可能完全错了,但我试了一下)
app.put('/turtles/:id', function(req, res) {
var turtle = req.params.id
data = {
Raphael: "Red",
Leonardo: "Blue",
Donatello: "Black",
Michaelangelo: "Orange"
}
console.log("LOOK OUT " + req.params.id + " IS MUTATING!!!")
有什么问题?我是在正确的轨道上吗?