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
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.png
Here 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
@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
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.png
Here 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 nothingThe text was updated successfully, but these errors were encountered: