title: Access headers in AWS API Gateway using HTTP Proxy?
body: <p>I'm using AWS API Gateway and it's HTTP Proxy,</p>
  
  <p>I need to pass Authorization header to my endpoint through AWS API Gateway</p>
  
  <p>Things I've tried:</p>
  
  <p>Setting Method Request like so,</p>
  
  <p><a href="https://i.stack.imgur.com/fEOT1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fEOT1.png" alt="Method Request"></a></p>
  
  <p>Integration Request setup
  <a href="https://i.stack.imgur.com/XjIh1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/XjIh1.png" alt="enter image description here"></a></p>
  
  <p>This doesn't work, my app doesn't receive the Authorization header,</p>
  
  <p>Also I've tried using mapping template</p>
  
  <pre><code>{
    "method": "$context.httpMethod",
    "body" : $input.json('$'),
    "headers": {
      #foreach($param in $input.params().header.keySet())
      "$param": "$util.escapeJavaScript($input.params().header.get($param))" #if($foreach.hasNext),#end
  
      #end
    },
    "queryParams": {
      #foreach($param in $input.params().querystring.keySet())
      "$param": "$util.escapeJavaScript($input.params().querystring.get($param))" #if($foreach.hasNext),#end
  
      #end
    },
    "pathParams": {
      #foreach($param in $input.params().path.keySet())
      "$param": "$util.escapeJavaScript($input.params().path.get($param))" #if($foreach.hasNext),#end
  
      #end
    }  
  }
  </code></pre>
  
  <p>This also doesn't worked.</p>
  
  <p>Could Anyone give me some hint on how this might be accomplished ?</p>