title: Headers getting added to file content while retrieving file from APIGatewayProxyRequestEvent in AWS lambda
body: <p>I am using AWS Lambda to push the file to S3 through Java code.
  While sending the file from Postman or from Angular I am trying to print the content of file in Java functions. While doing so headers are getting added to the file content automatically like:</p>
  <pre><code>&quot;----------------------------965855468995803568737630
  Content-Disposition: form-data; name=&quot;test&quot;; filename=&quot;test.pdf&quot;
  Content-Type: application/pdf&quot;
  </code></pre>
  <p>.</p>
  <p>How to get the file content without headers from APIGatewayProxyRequestEvent?.</p>
  <p>This is code am using to print the file content.</p>
  <pre><code>context.getLogger().log(&quot;Input File: &quot;+apiGatewayProxyRequestEvent.getBody());
  </code></pre>