https://berativ.com/java-spring-boot-rest-endpoint/