sdk install java 17.0.5-amzn
sdk install maven
- use sdkman to select the right jvm for this project
## select the jvm from .sdkmanrc in this project
sdk env
- build using maven
mvn clean install
java -jar target/rest-server-demo-0.0.1-SNAPSHOT.jar
curl -X POST localhost:8080/set -H "Content-Type: application/json" -d '{"name":"foo","number":1}'
curl -X GET localhost:8080/get