0

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?

1 Answers1

1

You can refer HTTPBuilder POST.

dmahapatro
  • 49,365
  • 7
  • 88
  • 117