Groovy web console

subscribe to the feed Subscribe
to this
site
add query param (via #groovywebconsole)
tweet this snippet Tweet
this
script

add query param

Published 1 month ago by Z
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
original = "https://some.host.name/#/site/tabidneardevautotest1/projects?mode=thumbnail"
u = new URI(original);
result = new URI(u.getScheme(),
        u.getAuthority(),
        u.getPath(), "debug=t",
        u.getFragment());

result;