Skip to content

Instantly share code, notes, and snippets.

@krishnaanaril
Created October 5, 2018 08:15
Show Gist options
  • Save krishnaanaril/eea067e360b2766eae65a88f59bf4c65 to your computer and use it in GitHub Desktop.
Save krishnaanaril/eea067e360b2766eae65a88f59bf4c65 to your computer and use it in GitHub Desktop.
Call Web API to get dashboard embed token
getDashboardEmbedToken(): Observable<any> {
let apiUrl = environment.apiEndPoint + "/api/values/getDashboardEmbedToken";
return this.http.get(apiUrl)
.pipe(
catchError(this.handleError)
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment