Receive POST from External Form

后端 未结 2 2022
独厮守ぢ
独厮守ぢ 2020-12-28 22:45

I have a form on another website (using a different backend) that I want to be able to POST to my Rails application (on a different domain).

  • How do I generate
2条回答
  •  心在旅途
    2020-12-28 23:31

    You could just remove the check by adding a filter like:

    skip_before_filter :verify_authenticity_token, :only => :action_name
    

提交回复
热议问题