Mapping Lambda output to API Gateway header

前端 未结 5 678
失恋的感觉
失恋的感觉 2021-01-31 20:02

I\'m trying to map the JSON output from a Lambda function to the header of an API Gateway call. As an example here, we can consider a redirect scenario. So I\'d like to add a

5条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 20:48

    As of today (January 2016), it works by simply specifying integration.response.body.Location in your case.

提交回复
热议问题