Hello, I have a task to accept a request via GET, the link is based on this template =
GET http://localhost/<url> Here is my controller -
@RequestMapping(value = "/{link} ", method = RequestMethod.GET) public void addLink(@PathVariable("link") String link) { System.out.print(link); } If you follow the link
http://localhost:8080/google.com then everything works correctly, and if you add a slash, the controller does not work
http://localhost:8080/google.com/saa