Rxjs 5 - Simple Ajax Request : <p>I'm trying to get the value from a simple ajax request, but I don't understand how to do that. Here is the code: </p>

<pre><code>Rx.Observable
  .ajax({ url: 'https://jsonplaceholder.typicode.com/posts', method: 'GET', responseType: 'json' })
  .subscribe(function(data) { return data.response; });
</code></pre>

<p>I searched everywhere and there is no simple explanation. </p>

<p>Thanks!</p>
