Cordova not available in http request

I have integrated the http plugin in ionic 3 ( but when i run the api its shows me the error in the browser.

Error: cordova_not_available

did you install it when you created your app ?
I would recommend to build a new blank app and install cordova, try a import http, just to check your ionic installation.

Try ionic Cordova run browser as a command, that should work.

Now its showing the error.
Error: advanced-http: header values must be strings

post the headers, looks like they aren’t strings

can you please send the sample headers?

I need to know what your doing and where it goes wrong. If the headers contain private data just replace it with some gibberish