Skip to content

Instantly share code, notes, and snippets.

@quatrix
Created January 20, 2022 15:07
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 quatrix/1cfbc492491496b572535bf358030971 to your computer and use it in GitHub Desktop.
Save quatrix/1cfbc492491496b572535bf358030971 to your computer and use it in GitHub Desktop.
module.exports.handler = async (event) => {
let responseMessage = 'Hello, World!';
return {
statusCode: 200,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
message: responseMessage,
}),
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment