Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

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

$
0
0

@harishgadiya92 wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



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