Ionic View is sending every request as OPTIONS instead of GET or POST

#1

I’m having an issue with Ionic View app it’s sending OPTIONS request by default instead of GET/POST/PUT. It’s working fine from browser but when I try it from Ionic View it send OPTIONS request. Please any help is appreciated.

#2

That is not Ionic View but the mobile device, doing security. It’s called CORS. Your API has to handle it properly, then the app will send the actual request afterwards.