Created
April 8, 2019 19:22
-
-
Save rafaelvicio/4eb37ea316b30b089eeddf8407a4ba42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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