Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 423 Bytes

File metadata and controls

11 lines (8 loc) · 423 Bytes

Spring Cloud Function using AWS Adapter example

Exposed Function as API Endpoint using AWS API Gateway

Hello.java is exposed as function to the AWS Request Handler using SpringBootRequestHandler. APIGatewayProxyRequestEvent is the input object and APIGatewayProxyResponseEvent is the response object.

Command used:

curl -X POST -H 'Content-Type: text/plain' <API_GATEWAY_URL> -d 'TechPrimers' -i