Research Article
HealthNode: Software Framework for Efficiently Designing and Developing Cloud-Based Healthcare Applications
Listing 5
Example of responding to REQUEST.
(1) | module.exports = function(app, mongoClient,mongoDBuri){ | (2) | app.post(‘/method’, function(req, res){ | (3) | res.write(‘Response back’); | (4) | res.end(); | (5) | }); | (6) | }; |
|