I am using AngularJS with Rails. I have the following request which updates users in bulk.
$http{ method: \'POST\', url: $scope.update_url, params:
If you're wondering how to actually set a XSRF-TOKEN cookie value in Rails this answer has an implementation Rails CSRF Protection + Angular.js: protect_from_forgery makes me to log out on POST