Open erwan-joly opened 2 years ago
thank you for filing the issue @erwan-joly
as far as I know support for binary data types is either only partially implemented or not supported at all yet.
it's on the top of the list to support next.
possibly related: https://github.com/dherault/serverless-offline/issues/1509
@dnalborczyk issue is not really about binary data types here but the http proxy part. I only get 204 No Content. If I had binary issue I would still expect a content with corrupted data
I tried to fix it myself https://github.com/erwan-joly/serverless-offline/pull/1/files but it seems like my knowledge of this codebase is not big enough. The new seems to return 404
Hello, I'm trying to understand how I can handle an http proxy event from lambda using serverless-offline.
The configuration works fine on aws api gateway but I can't find how to make it work locally.
I have a server and can access images using direct address example:
http://localhost:9999/image1.png
(on aws it's on a s3 bucket with cloudfront address) I would like this to be served by the proxy a request to http://localhost:3000/images/images1.png should serve the image http://localhost:9999/image1.pngHere is a simplified version of my configuration. Is there a way to make it works on serverless-offline currently ? I have
resourceRoutes: true
as the documentation suggest but it doesn't seems to work. http://localhost:3000/images/images1.png returns nothing