short answer, add this on top of page.ts page:
import {Http} from '@angular/http';
then inside your page class (below @component), in your constructor add "public http: Http", like this:
constructor(public http:Http, public navCtrl: NavController, public navParams: NavParams) {}
then outside your constructor (inside your page class), make an http request function as follows:
httprequest(url) {
this.http.request(url).map(res => JSON.parse(res['_body']));
}
then use it anywhere in the class of your page as follows:
this.httprequest('http://your_request_url').subscribe(yourdata=>{
console.log('you have your data: '+JSON.stringify(yourdata));
});
* JSON.parse, JSON. res ['_ body'], .