The REST Client of HTTP Builder has a withRest
closure. How can I tell what is available in this closure:
withRest(uri: domainName) { what,parameters,are,available,here ->
}
The source is here (line 80 seems like a good place to start).
The REST Client of HTTP Builder has a withRest
closure. How can I tell what is available in this closure:
withRest(uri: domainName) { what,parameters,are,available,here ->
}
The source is here (line 80 seems like a good place to start).
Take a look at the groovyx.net.http.RESTClient
class. The JavaDoc should give you some idea of the things you can do with withRest