title: Lambda@edge read body POST request
body: <p>I have a static website hosted on AWS Cloudfront.
  On a route I need to accept the POST method because is the redirect of the OAuth server so I decided to develop a Lambda@edge.</p>
  
  <p>My idea is to register the lambda on the 'Viewer Request' and intercept the POST method, reading the body and copy the values on the headers in order to make them readable from my static website (I know I can access the Referrer header with javascript).</p>
  
  <p>I set up the Lambda and I can intercept the POST letting all the other methods pass through.</p>
  
  <p>The problem is that I cannot find a way to read the body of the POST request, I googled it with no result.</p>
  
  <p>Any advice on I can do it? Is there any parameter I have to configure on Cloudfront side?</p>