AngularJS $http配置为form data 提交 $scope.formData = {}; $http({ method: 'POST', url: '/user/', // pass in data as strings data: $.param($scope.formData), // set the headers so angular passing info as form data (not request payload) headers: { 'Content-T