// request
If the specified content-type header is listed/ matched under BinaryMediaTypes, the payload is accepted and transformed based on the ContentHandling. Otherwise, a 415 unsupported media type is returned.
// response
If the specified Accept header is listed/ matched under BinaryMediaTypes, the binary data will be returned after the ContentHandling transformation.
// base64
Note that base64 encoded data is larger than binary data.
// content encodeing
You can specify the Content-Encoding Request header and the APIGW knows how the payload should be decompressed.
Compressed payload –> decompression –> mapping template –> endpoint
Set MinimumCopressionSize to 0 so it always compresses.
No Comments