code update recorded at: 27/04/26 09:10:51

This commit is contained in:
Anil Bhimwal 2026-04-27 09:10:51 +00:00
parent ffe27ef247
commit eca9c4e426

View File

@ -1,14 +1,18 @@
// Define the handler function
export const handler = async (event, res) => {
try {
const a = 12;
const b = 12;
// Prepare the response JSON
const responseJson = {
message: "Hello World"
message: `Hello World ${a+b}`
};
// Print the JSON response to stdout
console.log(JSON.stringify(responseJson));
// Set the response headers
res.setHeader('Content-Type', 'application/json');