Get url parameters for a url with '#' instead of '?' in Spring boot GET controller

Viewed 135

In my Spring Boot project, I have a controller which is called from an external url.

@GetMapping("/my_controller")
public ModelAndView controller(HttpServletRequest request) {}

Generally, the external url is like:

http://localhost:8080/my_controller?code=ABC&state=ON

However, due to a recent changes the external url has # instead of ?

http://localhost:8080/my_controller#code=ABC&state=O

As a result I am not able to retrieve the parameters anymore inside my controller. So, is there any way to do that?

Thanks

0 Answers
Related