I want to redirect user when page is opened and POST param. I tried this:
@PostMapping(value = "/redirect/{token}"})
  public ModelAndView handleRedirectMessage(@PathVariable("token") String token,
          @RequestBody Transaction transaction, HttpServletRequest request) throws Exception {
        String post_param = "some_payload";
        return new ModelAndView("redirect:" + url); 
  }
Is it possible to redirect the user and POST some param?
 
    