我需要打开一个外部链接,并通过post方法发送一些params。我已阅读,我可以使用重定向()通过get方法打开链接,如下面的代码:Grails外部链接params通过post
def get = {
redirect(url: "http://localhost:8080/test/public/cadastro/dataConfirm.html?" + "username=" + "test")
}
显然,重定向只适用于GET。有没有任何命令通过邮政方法来做到这一点?谢谢。
http://stackoverflow.com/questions/46582/response-redirect-with-post-instead-of-get – 2012-08-02 22:20:16