Skip to main content


Cordova / Phonegap plugin for communicating with HTTP servers. Supports iOS and Android.

Advantages over Javascript requests:

  • SSL / TLS Pinning
  • CORS restrictions do not apply
  • Handling of HTTP code 401 - read more at Issue CB-2415

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic’s experts offer premium advisory services for both community plugins and premier plugins.


$ npm install cordova-plugin-advanced-http $ npm install @ionic-native/http $ ionic cap sync

Supported Platforms#

  • Android
  • iOS



Learn more about using Ionic Native components in React


import { HTTP } from '@ionic-native/http/ngx';
constructor(private http: HTTP) {}
this.http.get('', {}, {})  .then(data => {
    console.log(data.status);    console.log(; // data received by server    console.log(data.headers);
  })  .catch(error => {
    console.log(error.status);    console.log(error.error); // error message as string    console.log(error.headers);