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 -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -