Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
'use strict';
/* eslint-disable no-param-reassign */
module.exports.hello = function (context) {
context.log('JavaScript HTTP trigger function processed a request.');
context.res = {
// status: 200, /* Defaults to 200 */
body: 'Go Serverless v1.x! Your function executed successfully!',
};
context.done();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.