redirecting from aws api gateway using response 302
<p>I am trying to make the redirect work in AWS API gateway.  I configured the method response to include Location in the header and on the Integration Response, I set the parameter as : Location = integration.response.body.location.  however, when I test the API, instead of redirecting me to the location, it just shows me the text for the location on the API page.  Has anyone encountered this before?</p>

<p>The string shown is actually the correct location but the API does not redirect me to that URL. </p>