Is it possible to redirect from one controller to another using a POST request? redirect_to only supports GET. I found something called "post_via_redirect", but it seems like it was deprecated in Rails 3.
I think you are looking for this question .
The short answer is no, there is no way to do this. post_via_redirectis one of the integration testing methods, and this will not help here.
post_via_redirect
, POST , , , , .
, / , - , , .
, , .
Source: https://habr.com/ru/post/1766289/More articles:How to get TinyMVC.NET class library to work with ASP.NET MVC 2? - asp.netMac: force another application to use a specific audio device - audioADOQuery bypasses deletion trigger instead - sql-serverHow to ignore errors in Visual Studio web tests - visual-studioWhat is the right way to make a widget that changes content every 6-8 seconds, Android - androidHow to easily switch reference paths for an assembly? - c #ExtJS - error message - javascriptNSXMLDocument, nodesForXPath with namespaces - namespacesHow can I automatically create address markers in Google or OpenStreetMap? - mapsASP.NET: How to support two types of databases in one application? (Access, MS SQL Server 2008 Express) - databaseAll Articles