1

how to redirect_to user with post method and parameters ?

like this code:

redirect_to 'example.com?key=value&key=value' # with post method
mahmoodi
  • 73
  • 1
  • 9
  • You should search and research before posting a question on SO. Take a look at [Before you ask](http://www.catb.org/~esr/faqs/smart-questions.html#before). – MikeJRamsey56 Dec 10 '16 at 17:25
  • i searched but not found anything , and i want alternate method – mahmoodi Dec 10 '16 at 17:27
  • Possible duplicate of [redirect\_to using POST in rails](http://stackoverflow.com/questions/985596/redirect-to-using-post-in-rails) – zuazo Dec 11 '16 at 01:19
  • Maybe this helps you: http://stackoverflow.com/questions/16943169/rails-routes-how-to-pass-all-request-params-in-a-redirect – Alexander Luna Dec 11 '16 at 03:38

0 Answers0