Description
Describe the feature
Have bulletin support in the Lambda Hosting to transform requests of content type application/x-www-form-urlencoded
into JSON
structures that tie into the Minimal API [FromBody]
(to define the structure) such that form data requests can be processed easily.
Use Case
Some vendors integration (Stripe specifically) use browser forms submission via once API layer to configure Checkout and Customer Portal integration, that then cause a redirect on the client.
Today this can be achieved if deploying to say and API Gateway by configuring a Request Transform for the given request; however either when running locally (debug - with Kestrel hosting) or behind and ALB this transform layer is not otherwise there so there is an impedance mismatch.
Such a feature streamlines the developer/devOps/deployment experience and minimizes extra configuration (API Gateway).
Proposed Solution
Per the feature description above this seem self explanatory.
Other Information
A potential short temp workaround would be to develop custom middle ware but its not clear (documentation) how that integrates with the Lambda runtime when not in local Kestrel mode.
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS .NET SDK and/or Package version used
Amazon.Lambda.RuntimeSupport = 1.8.2
AWSSDK.ApiGatewayV2 3.7.100.54
Targeted .NET Platform
.NET 7
Operating System and version
MacOs/Windows/linux