Sample SpringBoot
./gradlew build
Windows OS
gradlew.bat build
Will produce build/libs/odenktools-springhackathon-0.1.0.jar
cd build/libs/
java -jar odenktools-springhackathon-0.1.0.jar
curl -X GET http://localhost:8080/apikey/all
curl -X POST \
http://localhost:8080/apikey/add \
-H 'content-type: application/json' \
-d '{
"keyCode":"sdf234234sdf",
"secretKey":"123dsfsfd3767J"
}'
curl -X GET \
'http://localhost:8080/apikey/add?keyCode=sfdsdfsdfsdf&secretKey=123123asd12'