Last updated 5 years ago
Was this helpful?
[Ⓣ][1]
Creates an observable sequence from JSON from an Ajax request.
url (String): A string of the URL to make the Ajax call.
url
(Observable): The observable sequence which contains the parsed JSON.
Rx.DOM.Request.get('/products') .subscribe( function (data) { // Log data length console.log(data.length); }, function (err) { // Log the error } );