I\'m trying the following code but it\'s giving me an error, \"res.send is not a function\". Please help me.
Here\'s the code:
var http = require(\'
you should use req argument first and res as the second argument this will work without any issue
app.get('/', function(req, res) { res.send("Rendering file") }