Closed e-compton closed 2 years ago
@e-compton did you ever get to resolve or improve on this on your side? this is something that I would like to also have for my team. If not, I can try to put time and tackle this
HTTP proxy forwarding do work using with cloudformation templates, but it leaves much to be desired in its current state for me. Specifically there is no support for HTTP
integration (non-proxy) and also authorizer is completely bypassed.
So the possibilities are:
I think the first option will be an easier and more natural undertaking considering that the integration does get setup, but incorrectly so. Specifically:
From there I am hoping the integration with authorizer would be fairly straightforward (reuse current capabilities)
I hope others can give feedback on my thoughts, it's my first time really working with the serverless framework (and probably in a confused manner considering my team isn't using much of lambda functions)
Hi is there any update or roadmap for this issue to be fixed?
Feature Request
Serverless supports creating HTTP and HTTP_PROXY type integrations in its API Gateways. We're using them to route certain requests to our backend servers. It would be really helpful if we could run this locally and forward the requests along in the same way locally.
https://github.com/serverless/serverless/pull/3534
Sample Code
Expected behavior/code
Currently, when a request is made to http://localhost:3000/dev/v1/repository it returns back a blank response.
Instead, it would forward the request to http://www.github.com/v1/repository and return the response of that request.