AWS Lambda Payloads

E. Lovelace

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.

kixorz

Your request body needs to be in XML or JSON in order to be able to access it in your Lambda function. You need to specify how it's processed/mapped and passed through in Integration Request section of the API Gateway dashboard.

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事