Angular Subscribe Response Data




public onUnauthorize(): void {
    const self = this;
    const params = {
      email: 'info@miracleinterface.com.np',
      password: 'someapplication'
    };
    self._authService.doUnauthorize(params).subscribe({
      next: (res) => {
        // Todo...
      },
      error: (error) => {
        // Todo...
      },
      complete: () => {
        // Todo...
      }
    });
  }
Share on Google Plus

About Ram Pukar

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment