776 B
776 B
title |
---|
Get Route Parameter Input from the Client |
Get Route Parameter Input from the Client
If someone tells you to build a GET or POST you would do app.get(...) or app.post(...) accordingly. The basic structure of the challenge is:
app.get("/:word/echo", function(req, res) {
// word = req.params.word;
// respond with the json object
});