Skip to content

Commit

Permalink
Added '/xref/' in addition to '/xref' to the POST method controller
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorRodchenkov committed Apr 8, 2024
1 parent 878ad43 commit a6e78b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit a6e78b0

Please sign in to comment.