TAP5-1993: Support returning an URL for an ajax request