Last active
May 19, 2017 20:24
-
-
Save ernestofreyreg/0e17b75277592a68acab2752fd9cfde8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
module.exports.handler = (event, context, callback) => { | |
const response = { | |
statusCode: 200, | |
body: 'Hello World!', | |
} | |
callback(null, response) | |
// Use this code if you don't use the http event with the LAMBDA-PROXY integration | |
// callback(null, { message: 'Go Serverless v1.0! Your function executed successfully!', event }) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment