Ruby on Rails redirect and send data to PHP script -


i have script on ruby on rails. has redirect php script in different server. need php script receive data rails, preferably hidden somewhere (as raw data, or post).

then php receive data , (i want start session current user on php server).

how can acheieve this? or close this?


i need similar happens when submit html form via post. need send data via post , redirect given url.

when do

net::http.post_form(uri.parse(url), {k: 'somek', u: someu, p: somep, e: somee}) 

it stays is.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -