How to use rest api in ionic



i am using ionic 2 with pushnotifications.

I install this plugin

ionic cordova plugin add onesignal-cordova-plugin
npm install --save @ionic-native/onesignal

My app is receive notification from onesignal website.

i need using rest api for one signal using ionic 2

Kindly help me,



Why does your Ionic app have to use the OneSignal REST API?