- Language:
- Python
- Framework:
- AWS SAM
Download this pattern (.zip)
View this pattern on GitHub
Clone repo
git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/apigw-http-api-lambda-python
Deploy
sam deploy
Testing
Once the application is deployed, retrieve the API ID provided as output and go to API Gateway console.
Click on the newly created API, in the stages window, click on the link under 'invoke URL'.
You can also make the request from Postman or from a terminal using the curl command.
Cleanup
Delete the stack: sam delete.