Skip to content

Instantly share code, notes, and snippets.

@krishnaanaril
Created October 5, 2018 08:16
Show Gist options
  • Save krishnaanaril/a3461dfd0630d39b1de97a184af91158 to your computer and use it in GitHub Desktop.
Save krishnaanaril/a3461dfd0630d39b1de97a184af91158 to your computer and use it in GitHub Desktop.
Call Web API to get tile embed token
getTileEmbedToken(): Observable<any> {
let apiUrl = environment.apiEndPoint + "/api/values/getTileEmbedToken";
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