I have a NodeJs API on an Ubuntu server. I can call it via browser or postman without problem. But when i call it with ionic, i get “net::ERR_EMPTY_RESPONSE” in Chrome, “Cross-Origin Request Blocked” in Firefox.
In NodeJs app, CORS is enabled for all. (
Already, as i said, i can call it with browser or postman with success. Only ionic (angular) app got errors. So i guess it’s about ionic/angular.
This is really weird problem. Any idea?