Hi. Exploring this library right now.
Something that I am still puzzled about is working with params / querystrings.
I've figured out I need to do something like this:
"requestParameters": {"integration.request.querystring.foo": "method.request.querystring.foo"},
"requestTemplates": {
"application/json": {"foo": "$input.params('foo')"}
},
Is this correct? But how do I then access this?
module.exports.handler = function(event, context) {
console.log("hello")
console.log(event)
Also how would this be defined for post params and what not?
If there is a good demo somewhere that would work too! Thanks.
Hi. Exploring this library right now.
Something that I am still puzzled about is working with params / querystrings.
I've figured out I need to do something like this:
Is this correct? But how do I then access this?
Also how would this be defined for post params and what not?
If there is a good demo somewhere that would work too! Thanks.