Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
module.exports.hello = async event => {
var name = "World"
if(event.queryStringParameters != undefined && event.queryStringParameters.hello != undefined) {
name = event.queryStringParameters.hello
}
return {
statusCode: 200,
body: `Hello ${name}!`
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment