Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (19.1k points)

I searched on AWS Lambda documentation but couldn't find an answer to my problem.

Is there a way I can access the entire request body from a Lambda function (written in node.js)?

The event parameter only seems to contain parsed JSON properties.

1 Answer

0 votes
by (44.4k points)

To be accessible to the Lambda function, the request body has to be written in XML or JSON. In the API Gateway dashboard, under the Integration Request section, you will have to mention how it’s processed/mapped.

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer

Browse Categories

...