I am developing a web API with Ruby on Rails. When a Rails application receives a POST request without any csrf token, the following error message should appear. Since the application has no views.
WARNING: Can't verify CSRF token authenticity
So my question is, how can I avoid checking the csrf token in this case?
Thank you in advance.
ruby api ruby-on-rails-3 csrf token
gipcompany Feb 23 '13 at 13:18 2013-02-23 13:18
source share