Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Problem in login when running ionic on emulator with -l -c

$
0
0

Hi,

When i am running my app into android emulator with -livereload or -consolelogs. I am getting "405 (Method not allowed )" error or when run app without any parameters the app working fine in emulator or real device. The API in on the amazon server

This is the error in console in device inspect

OPTIONS "My API URL" 405 (Method Not Allowed)
(index):1 XMLHttpRequest cannot load "My API URL". No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.56.1:8100' is therefore not allowed access. The response had HTTP status code 405.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>