In the code below, the AngularJS $http method calls the URL, and submits the xsrf object as a \"Request Payload\" (as described in the Chrome debugger network t
$http
Just set Content-Type is not enough, url encode form data before send. $http.post(url, jQuery.param(data))
$http.post(url, jQuery.param(data))