I am using Node.js Restify.
What is the difference between these 2 ways of defining HTTP Get requests on the server side? How will it affect the client URL calling the GET APIs and retrieving the URL parameters?
First one.
server.get('/echo', function (req, res, next)
{
}
Second one.
server.get('/echo/:message', function (req, res, next)
{
}