import { HTTP } from '@awesome-cordova-plugins/http/ngx';
constructor(private http: HTTP) {}
...
this.http.get('http://ionic.io', {}, {})
.then(data => {
console.log(data.status);
console.log(data.data);
console.log(data.headers);
})
.catch(error => {
console.log(error.status);
console.log(error.error);
console.log(error.headers);
});