public static void putServiceRedirectUrl(final RequestContext requestContext, final String url) {
        requestContext.getRequestScope().put("url", url);
    }
Put service response into request scope.

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