Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const login = this.restangular.one('/api/admin/login').customPOST(
- { username: this.username, password: this.password},
- '',
- {},
- {
- 'ContentType': 'application/json',
- }
- ).subscribe($response => {
- console.log($response.data.data);
- console.log(login);
- }, $error => {
- console.log($error);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement