Hi, I am getting string response of payload, while hitting a lambda function. I have used "resp.end(data.payload)".
If I use "res.json(JSON.parse(data.Payload))" it shows JSON object not found something like that. Please provide me with some example to get the JSON response and the necessary modules to be included.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |