serverless.ymlto tell serverless where to send responses to.
Just created a new project, and returned a string from my lambda which works fine in serverless-offline.
When I deployed my lambda it threw a 500 because it expects an object to be returned with
body. Should we emulate this behaviour in serverless-offline?
I was able to get something to work using the library(at least for HTTP event)
But I am facing some issue w/ testing using the "http lambda" endpoint
Hi! My serverless app does some request template mapping to get the raw body received from a Stripe webhook (it needs the raw body for verification by signing). The request template mapping works in "real" API gateway in my dev environment. When running locally with serverless-offline, I'm getting an undefined event being passed to my lambda function. Here's how my config looks:
Does anyone know if serverless offline supports inline request template mapping config like this? In the README, there's a section on using velocity templates. I gave that a shot but it also didn't work, but without a good example I wasn't sure if I was doing it right.