rest api, pom