Ruby, post and redirect
- by Adrian Serafin
Hi!
I have situation like this:
user submits form with action='/pay'
in '/pay' I have to add some additional parameters and send post request to www.paymentprovider.com/new_payment
The problem is that I want to post and redirect (at the same time) user to this new website www.paymentprovider.com/new_payment. Currently I am using
Net::HTTP.post_form
Do you know any ways to achieve this?