Static site served from S3, with one GET and one POST API routed through API Gateway.
/api/hello
Returns a JSON greeting. Pass an optional name query parameter.
/api/greet
Accepts a JSON body { "name": "...", "message": "..." } and returns a personalised response.
GET /api/hello → GetApiFunction |
POST /api/greet → PostApiFunction.
Deployed with AWS SAM.