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
Hi,
I'm trying to use serverless-express for sending binary data (application/zip) as response but I'm unable to do it. AWS forum talks about a custom response with isBase64Encoded key on the response but it doesn't seem to be covered on this library.
Am I missing something or do you have any example or documentation for it?
Thank you.
The text was updated successfully, but these errors were encountered:
Hello @mikestaub thank you for your response.
Yep I've tried it but didn't work right for me; currently I've solved it by sending a base64 of the file and then doing t he job client side but that's just a workaround for small files.
To be honest, I feel like you should be serving binary files from S3/Cloudfront, not express. This plugin was created for API servers. I think we can make it work for binary responses but I don't have time right now to investigate. I'm happy to work with you on a PR if you want to take this on.
Hi,
I'm trying to use
serverless-express
for sending binary data (application/zip
) as response but I'm unable to do it.AWS forum talks about a custom response with
isBase64Encoded
key on the response but it doesn't seem to be covered on this library.Am I missing something or do you have any example or documentation for it?
Thank you.
The text was updated successfully, but these errors were encountered: