Let's start with the back end code. This will be written in Typescript and will run on AWS Lambda. On the right is a function handler for an AWS Lambda function in Typescript.
Type event.
into the editor and explore the properties available to your Lambda function when it is called over HTTP.
handler.ts
function to read a property from the HTTP request body called subject
. Print the subject to the console inside your function.Ask me anything you need to know about editing the lambda on the right or finding the subject
field in the request body.