code: @SuppressWarnings("squid:S3752") // backwards compatability: multiple methods required
    @RequestMapping(
        method = {RequestMethod.GET, RequestMethod.POST},
        value = "/scripts/{name}/start")
    public void startScript(
        @PathVariable("name") String scriptName,
        @RequestParam Map<String, Object> parameters,
        HttpServletResponse response)
        throws IOException {
      String scriptJobExecutionHref = submitScript(scriptName, parameters).getBody();
  
      response.sendRedirect(jobsController.createJobExecutionViewHref(scriptJobExecutionHref, 1000));
    }
docs: Starts a Script. Will redirect the request to the jobs controller, showing the progress of the
  started {@link ScriptJobExecution}. The Script's output will be written to the log of the
  {@link ScriptJobExecution}. If the Script has an outputFile, the URL of that file will be
  written to the {@link ScriptJobExecution#getResultUrl()}
  
  @param scriptName name of the Script to start
  @param parameters parameter values for the script
  @throws IOException if an input or output exception occurs when redirecting