Groovy web console

subscribe to the feed Subscribe
to this
site

Load from HTTP GET request into a string

Published 4 months ago by Valentin
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
URL u = new URL("https://example.com")
String s = u.text