【发布时间】:2013-04-19 23:28:01
【问题描述】:
我正在使用 grails 插件:REST client facilities 我可以像这样使用 Get 方法(代码来自 grails rest 插件页面):
withHttp(uri: "http://www.google.com") {
def html = get(path : '/search', query : [q:'Groovy'])
assert html.HEAD.size() == 1
assert html.BODY.size() == 1
}
有谁知道如何使用 Post 方法?
【问题讨论】:
标签: grails grails-plugin