Reputation: 290
I'm using the grails plugin: REST client facilities I can use the method Get like this (code from the grails rest plugin page):
withHttp(uri: "http://www.google.com") {
def html = get(path : '/search', query : [q:'Groovy'])
assert html.HEAD.size() == 1
assert html.BODY.size() == 1
}
Does anyone know how to do the Post method?
Upvotes: 0
Views: 527