AWS API Gateway with Lambda proxy always produces base64 string response
问题 I'm using API Gateway Lambda proxy integration and trying to return a binary application/protobuf response. No matter what I do, the response body is always a base64 encoded string I have application/protobuf setup as a binary media types in APIG My client (javascript) is sending following headers in the POST : Accept: application/protobuf Content-Type: application/protobuf My lambda is responing with content-type: application/protobuf , and correctly setting the IsBase64Encoded Lambda