Laminas toRute let POST?

Laminas toRoute as POST?

我使用 Laminas,在 ControllerAction 函数中我想通过使用 $this->redirect()->toRoute('newSite', $noURLParams, $options); 重定向到另一个 url 作为 post 当我使用“查询”-Option ($options = [$query => ['postPara1' => 'blabla', 'postPara2' => 'blubblub']]) 时,我将在 URL:

中获取“post”-Parameter 作为 GET-Parameter

hhttp://localhost/new-site?postPara1=blabla&postPara2=blubblub

这样大家就可以看到参数的内容了

有没有办法让 toRoute() 从中生成“POST”? 或者我必须为此使用其他功能吗?

感谢您的关注和帮助。在你说它不起作用之后,我更改了什么时候应该调用的顺序,现在我可以在没有额外重定向的情况下完成它。