public static void putInitialHttpRequestPostParameters(final RequestContext context) {
        val request = getHttpServletRequestFromExternalWebflowContext(context);
        val queryParams = StringUtils.defaultString(request.getQueryString());
        val parameters = request.getParameterMap()
            .entrySet()
            .stream()
            .filter(param -> !queryParams.contains(param.getKey() + '='))
            .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
        context.getFlashScope().put("httpRequestInitialPostParameters", parameters);
    }
Put initial http request post parameters.

@param context the context
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java