title: AWS Application Load Balancer - Lambda response contains only body
body: <p>Currently I'm switching from AWS API Gateway to Application Load Balancer for supporting calls to my Lambda function. While API Gateway response contains all data, including &quot;statusCode&quot;, the ALB returns only &quot;body&quot;.
  Is there any way to make ALB return &quot;statusCode&quot; as well?</p>
  <p>Maybe it has something to do with the response header. I have it set up as:</p>
  <blockquote>
  <p>&quot;headers&quot;: {    &quot;Content-Type&quot;: &quot;application/json&quot; }</p>
  </blockquote>
  <p>The language of Lambda is JavaScript. The ALB rule is set to &quot;Forwarding&quot;. Protocol is HTTP.</p>