wa-api-v2 / docs /site /functions /hi-from-lambda.js
baagas0's picture
init
b62a170
raw
history blame contribute delete
232 Bytes
exports.handler = (event, context, callback) => {
callback (null, {
statusCode: 200,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
message: 'Hi from Lambda.',
}),
});
}