1 Answer
- Newest
- Most votes
- Most comments
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
.
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago