title: How to pass event info from aws API Gateway get to Lambda?
body: <p>How do I refer to API Gateway GET query string parameters in a Lambda function ?</p>
  <p>When I test I can use my local test event with <code>&quot;username&quot;: &quot;larry&quot;</code><br />
  When I test with a post I can use the body parameters as the event with <code>&quot;username&quot;: &quot;larry&quot;</code><br />
  With a get request, I don't have a body.  How could I use query string parameters and then refer to them in the request.  What event or other attribute do I use to get at the query param or what setting or change do I need to make?</p>
  <h3>Method request</h3>
  <p><a href="https://i.stack.imgur.com/NWiMr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NWiMr.png" alt="enter image description here" /></a></p>
  <h3>Integration request</h3>
  <p><a href="https://i.stack.imgur.com/FRDPf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FRDPf.png" alt="enter image description here" /></a></p>
  <h3>Query String</h3>
  <p><a href="https://i.stack.imgur.com/HDqKT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HDqKT.png" alt="enter image description here" /></a></p>
  <p>When testing I've referred to event[&quot;username&quot;, what do I do for an API request passing it as a query string parameter?</p>