Help Center/ FunctionGraph/ devg/ Node.js/ Node.js Template
Updated on 2024-11-12 GMT+08:00

Node.js Template

exports.handler = async (event, context) => {
    const output =
    {
        'statusCode': 200,
        'headers':
        {
            'Content-Type': 'application/json'
        },
        'isBase64Encoded': false,
        'body': JSON.stringify(event),
    }
    return output;
}