Revision 45692
Added by Michele Artini over 7 years ago
users.js | ||
---|---|---|
56 | 56 |
$scope.saveUsers = function() { |
57 | 57 |
showSpinner(); |
58 | 58 |
|
59 |
$http.defaults.headers.post["Content-Type"] = "application/json"; |
|
59 |
$http.defaults.headers.post["Content-Type"] = "application/json; charset=utf-8";
|
|
60 | 60 |
|
61 | 61 |
$http.post('/ajax/users', $scope.users).success( |
62 | 62 |
function(data) { |
Also available in: Unified diff