You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin successfully updates the API Gateway's binary support types, but when I try to serve PNG files from aws-serverless-express I'm still getting base64 encoded data returned from:
The plugin successfully updates the API Gateway's binary support types, but when I try to serve PNG files from
aws-serverless-expressI'm still getting base64 encoded data returned from:If I explicitly add an
acceptheader withimage/pngthen the correct image data is returned, but I can't do that from an<img/>tag.Any suggestions? (seems like a popular issue):
https://forum.serverless.com/t/returning-binary-data-jpg-from-lambda-via-api-gateway/796
https://forum.serverless.com/t/force-return-of-binary-response-ignoring-accept-header/1299
#33
CodeGenieApp/serverless-express#39
CodeGenieApp/serverless-express#99
CodeGenieApp/serverless-express#104