Creates an observable sequence from an Ajax GET Request with the body. This method is just shorthand for the Rx.DOM.Request.ajax
method with the GET method.
url
(String): A string of the URL to make the Ajax call.
(Observable): The observable sequence which contains the response from the Ajax GET.
Rx.DOM.Request.get('/products')
.subscribe(
function (xhr) {
var text = xhr.responseText;
console.log(text);
},
function (err) {
// Log the error
}
);