AWS - Node.js - HTTP API
as this tutorial will be using Node.js.
If you cd into the directory that was created, you should see an index.js
file which is where we will be writing our code.
It will look something like this:
data
field, and it’s inside this field that the user object will be present. Here’s how we can use the email inside the function: