Looking at the examples for AWS API Gateway
in order to map a querystring to the Lambda
function it shows examples of creating a template map for application/json
in the integration request. How do I create a template for all requests no matter the Content-Type
? I want it to fire the Lambda
with the querystring params regardless of the Content-Type
in the request.
This is not possible at the moment. There is no documented wild card available.
"application/json" is the default content type. This is used if no content type is specified in the request (source: https://forums.aws.amazon.com/thread.jspa?threadID=215471).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With