Convert Observable<Object> to String
问题 I've found this example of a service to get the IP-Address. This service returns an Observable<Object> , which I would like to assign/save to a String-Variable. getIpAddress() { return this.http .get('https://api.ipify.org/?format=json') .pipe( catchError(this.handleError) ); } I'm still not well "trained" with Observables. I've injected this Service to my own Service (an Authentication Service) where I'm trying to access the actual value, which would be a string. I know I'll have to