diff --git a/simple-data-backend/src/main/java/org/eclipse/tractusx/simpledataservice/SimpleDataServiceController.java b/simple-data-backend/src/main/java/org/eclipse/tractusx/simpledataservice/SimpleDataServiceController.java index 0f151846..1268798f 100644 --- a/simple-data-backend/src/main/java/org/eclipse/tractusx/simpledataservice/SimpleDataServiceController.java +++ b/simple-data-backend/src/main/java/org/eclipse/tractusx/simpledataservice/SimpleDataServiceController.java @@ -43,7 +43,7 @@ public void addData(@PathVariable final String id, @RequestBody final Object pay data.put(id, payload); } - @GetMapping("/{id}") + @GetMapping({"/{id}", "/{id}/$value"}) public Object getData(@PathVariable final String id) { if (data.containsKey(id)) { log.info("Returning data for id '{}'", id);