I’m migrating from Ionic 3 to Ionic 4 and have some troubles using the new HTTP function. When I use this.http.post or this.http.get it’s not working when I testrun the app in my browser. I get the message
[Warning] Native: tried calling HTTP.post, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator
But how can I include cordova.js ?