开发者

Send the posted form data to another site using Ruby on Rails

开发者 https://www.devze.com 2023-03-26 10:56 出处:网络
I am new for Ruby on rails. I need to pass one website form data\'s to be redirected another website form\'s using Ruby on Rails. is it possible?

I am new for Ruby on rails. I need to pass one website form data's to be redirected another website form's using Ruby on Rails. is it possible? Anybody can help me.

Example:

I filled Conta开发者_StackOverflow社区ct form details in my website. To be set all form inputs details to destination website's contact form when i submit in my contact form.


Sure, you can. You must only add the url to the form helper.

<% form_for :url => 'http://example.com' do %>
  ...
<% end %>
0

精彩评论

暂无评论...
验证码 换一张
取 消