serverless-offline
serverless-offline copied to clipboard
Unable to send body (as JSON) in the request
As described at the documentation, I've added a my_file_name.req.vm file for a velocity template. Here's the template: { "name" : "$input.params('raw_name')", "body" : $input.json('$') }
When I send with the request a parameter called "raw_name", its value is then available via event.name. However, the request's body (as JSON) is not available via event.body or anything like that.
What am I missing?
That is because the plugin doesn't support velocity template .vm parsing yet u_u. Duplicate with #92