rest-assured/src/main/java/io/restassured/internal/http/HTTPBuilder.java
public Object request(String method, boolean hasBody, Closure configClosure) throws ClientProtocolException, IOException {
        return this.doRequest(this.defaultURI.toURI(), method, this.defaultContentType, hasBody, configClosure);
    }
public Object request(String method, boolean hasBody, Closure configClosure) throws ClientProtocolException, IOException {
        return this.doRequest(this.defaultURI.toURI(), method, this.defaultContentType, hasBody, configClosure);
    }
Make an HTTP request to the default URI, and parse using the default
content-type.

@param method        {@link HttpRequestFactory HTTP method}
@param configClosure request configuration options
@return whatever value was returned by the executed response handler.
@throws ClientProtocolException
@throws IOException
@see #request(Object, HttpRequestFactory, Object, Closure)