-
Sorry in advance if this is a dumb question. I'm new and learning Rails. I want to add an POST api to a web app. Normally Rails checks for an authenticity token and returns |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Answered me own question; the controller should inherit from |
Beta Was this translation helpful? Give feedback.
Answered me own question; the controller should inherit from
ActionController::API
instead ofApplicationController