SecurityApplicationController#class ApplicationController < ActionController::Base # Prevent CSRF attacks by raising an exception. protect_from_forgery with: :exception CopyAPIs#protect_from_forgery with: :null_sessionCopy