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
.
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 年前