diff --git a/biopax-validator-web/src/main/java/org/biopax/validator/web/controller/SuggesterController.java b/biopax-validator-web/src/main/java/org/biopax/validator/web/controller/SuggesterController.java index ae46eebc..62371d2a 100644 --- a/biopax-validator-web/src/main/java/org/biopax/validator/web/controller/SuggesterController.java +++ b/biopax-validator-web/src/main/java/org/biopax/validator/web/controller/SuggesterController.java @@ -29,7 +29,7 @@ public String xrefDbId(@PathVariable String db, @PathVariable String id, return uri; } - @PostMapping(value = "/xref", produces = APPLICATION_JSON_VALUE) + @PostMapping(value = {"/xref", "/xref/"}, produces = APPLICATION_JSON_VALUE) public Clue xref(@RequestBody Xref[] xrefs, HttpServletResponse response) throws IOException {