Skip to content

Instantly share code, notes, and snippets.

@auryn31
Last active September 25, 2019 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auryn31/77eb7111f7a8ca9efe5f13c7f99f5f47 to your computer and use it in GitHub Desktop.
Save auryn31/77eb7111f7a8ca9efe5f13c7f99f5f47 to your computer and use it in GitHub Desktop.
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