title: Event Object is empty in AWS Lambda nodejs function
body: <p>I am using Lambda function to query a RDS MySQL database. To fetch a row, I am passing the primary key as parameter in the URL (with AWS API Gateway). Example URL is:</p>
  
  <p><a href="https://aaaaaaa.execute-api.aaaaaaa.amazonaws.com/default/getresult?pk=1245" rel="noreferrer">https://aaaaaaa.execute-api.aaaaaaa.amazonaws.com/default/getresult?pk=1245</a></p>
  
  <p>In the Lambda function,</p>
  
  <pre><code>exports.handler =  (event, context, callback) =&gt; {
    //prevent timeout from waiting event loop
    callback(null, event);
  
  };
  </code></pre>
  
  <p>I am getting output as <code>{}</code> for the url.</p>
  
  <p><strong>Note</strong>: Lambda proxy integration is enabled.</p>