exports.myHandler = function(event, context,
callback) {
console.log("value1 = " + event.key1);
console.log("value2 = " + event.key2);
callback(null, "some success message");
// or
// callback("some error type");
}
Well designed application
{
"/api": {
"target": "http://localhost:3000",
"secure": false
}
}