here is a variation
println 'http://www.google.com'.toURL().text
This is a good example
http://docs.codehaus.org/display/GROOVY/Simple+file+download+from+URL
Basically you want to do something like
def data = new URL(feedUrl).getText()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With