As described in this AWS Developer Forum post, in order to support binary response content from a Lambda function invoked by API Gateway proxy, the Lambda response needs to include the isBase64Encoded: true flag in its JSON response payload.
The most recent revision of the APIGatewayProxyResponse response model class does not include such a flag and the furthermore, the AspNetCoreServer package would need to provide a means of triggering (and flagging) the base64-encoding when binary response content is returned from a controller action method.
As described in this AWS Developer Forum post, in order to support binary response content from a Lambda function invoked by API Gateway proxy, the Lambda response needs to include the
isBase64Encoded: trueflag in its JSON response payload.The most recent revision of the
APIGatewayProxyResponseresponse model class does not include such a flag and the furthermore, theAspNetCoreServerpackage would need to provide a means of triggering (and flagging) the base64-encoding when binary response content is returned from a controller action method.