我需要打開一個外部鏈接,並通過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