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
Post a Comment