1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
I recommends that you use SAM CLI for local testing. Using SAM CLI you can invoke your functions locally using the sam local start-api
command, that will start also a local API gateway and will invoke your code when you CURL the local end-point. You could also use sam local generate-event
to create the event object that is used by API Gateway and use it when invoking the function directly using sam local invoke
.