Matt Hernandez e620836b53 Correct some spelling errors in the Azure template.
Corrected some spelling mistakes in the Azure template files.
2017-04-13 13:45:08 -07:00

11 lines
375 B
JavaScript

'use strict';
module.exports.hello = function (context, req) {
// Add any necessary telemetry to support diagnosing your function
context.log('HTTP trigger occured!');
// Read properties from the incoming request, and respond as appropriate.
const name = req.query.name || (req.body && req.body.name) || 'World';
context.done(null, { body: `Hello ${name}` });
};