@Grab('org.spockframework:spock-core:0.7-groovy-2.0') @Grab('org.codehaus.groovy.modules.http-builder:http-builder:0.7.1') import groovyx.net.http.RESTClient import static groovyx.net.http.ContentType.* import org.apache.http.client.HttpResponseException import spock.lang.Specification import spock.lang.Unroll class Test extends Specification { def ROOT = "http://localhost/" def http = new RESTCli