I have multiple GET parameters so how should i pass in lambda function and how would my serverless.yml look like.Currently below is the configuration
serverless.yml
myFunc:
handler: com.mcm.in.MyHandler
events:
- http:
path: user
method: get
cors: true
Request:/mylist?page=1&size=10&filter=userId=abc&sort=-userId&version=1554304254262
Also how should i call in sls invoke local?
I have tried without the params,It's not working in serverless