Hello.java
is exposed as function to the AWS Request Handler using SpringBootRequestHandler
.
APIGatewayProxyRequestEvent
is the input object and APIGatewayProxyResponseEvent
is the response object.
curl -X POST -H 'Content-Type: text/plain' <API_GATEWAY_URL> -d 'TechPrimers' -i