Skip to content

Instantly share code, notes, and snippets.

@tony-landis
tony-landis / gist:31445
Created December 3, 2008 06:49
A HTTP POST/GET Helper Class for Groovy
/**
* A Simple HTTP POST/GET Helper Class for Groovy
*
* @author Tony Landis
* @copyright 2007 Tony Landis
* @website http://www.tonylandis.com
* @license BSD License (http://www.opensource.org/licenses/bsd-license.php)
* @example h = new GroovyHTTP('http://www.google.com/search')
* h.setMethod('GET')
* h.setParam('q', 'groovy')