-
-
Save richardgrantserverless/54e00a16196c125a39b9f32fb0afdade 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' | |
module.exports.exampleFunction = async (event, context) => { | |
let bodyObj = JSON.parse(event.body) | |
console.log(bodyObj) | |
return { | |
statusCode: 200, | |
body: JSON.stringify({ | |
message: bodyObj.parameter | |
}) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment