app.get(path, callback [, callback ...])
Routes HTTP GET requests to the specified path with the specified callback functions.
{% include api/en/4x/routing-args.html %}
For more information, see the routing guide.
Example
app.get('/', function (req, res) {
res.send('GET request to homepage');
});