Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var newUser = {
- username: $scope.form.username,
- password: $scope.form.password,
- userTypeId: 1,
- email: $scope.form.email
- };
- $http.post(
- ENVIRONMENT.backendUrl + '/users/add/.json?XDEBUG_SESSION_START=PHPSTORM',
- newUser
- ).success(function() {
- alert( "success");
- }).error(function() {
- alert( "failure");
- });
- $.post(
- ENVIRONMENT.backendUrl + '/users/add/.json?XDEBUG_SESSION_START=PHPSTORM',
- newUser
- ).success(function() {
- alert( "success");
- }).error(function() {
- alert( "failure");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement