Making Ajax Calls With an Observable

Learn how to retrieve data through an HTTP request using Observers.

We haven’t done anything useful with Observables yet. How about we create an Observable that retrieves remote content? To do this, we’ll wrap the XMLHttpRequest object using Rx.Observable.create:

Get hands-on with 1200+ tech skills courses.