Connect to URL and dump webpage in Groovy - Stack Overflow
5 down vote acceptedThis is a good examplehttp://groovy.codehaus.org/Simple+file+download+from+URLBasically you want to do something likedef data = new URL(feedUrl).getText()link|edit|flaganswered Jun 3 '09 at 10:02Mark Sailes451 6 12 add comment up vote 14 down votehere is a variationprintln 'http://www.google.com'.toURL().text
This is a good example
http://groovy.codehaus.org/Simple+file+download+from+URL
Basically you want to do something like
def data = new URL(feedUrl).getText()
add comment
here is a variation
println 'http://www.google.com'.toURL().text