ios - Completed 406 Not Acceptable in devise -
i integrating ios app rails server. here, have implemented devise authentication. when new person signing app, following error in logs
processing devise::registrationscontroller#create json parameters: {"password_confirmation"=>"[filtered]", "email"=>"sss@example.com", "password"=>"[filtered]", "registration"=>{"password_confirmation"=>"[filtered]", "email"=>"sss@example.com", "password"=>"[filtered]"}} warning: can't verify csrf token authenticity (0.1ms) begin transaction (0.0ms) rollback transaction completed 406 not acceptable in 28ms (activerecord: 0.7ms)
devise responding json default has been removed version 2.2, add
respond_to :json in application controller or specific controller respond json.
Comments
Post a Comment