Get the values of a Observable<any> into an array in typescript : <p>I'm trying to get the values from a post in typescript, I'm getting a Observable type variable from the post operation but I don't know how can I get the values within. Is there a way to do this?</p>

<p>Here is the code I have until now</p>

<pre><code>TryLogin() {
    this.loggedUser.email = this.inputUsername;
    this.loggedUser.password = this.inputPass;
    const myObjStr = JSON.stringify(this.loggedUser)
    const response = this.http.post&lt;any&gt;(this.url, myObjStr,{headers: this.httpheaders});
  }
</code></pre>
