0

I have an html page with angular2 on url:

http://localhost:8880/SupporTool/html/angular2/index.html#

which call server on

localhost:8880/SupporTool/Push/SelectMessagesAttributes

how come i get

Cross origin requests are only supported..

enter image description here

Elad Benda
  • 32,996
  • 80
  • 259
  • 444

1 Answers1

0

one has to disable same origin policy in Chrome. It blocks all calls from localhost to itself.

start chrome with the --disable-web-security flag

Günter Zöchbauer
  • 558,509
  • 191
  • 1,911
  • 1,506
Elad Benda
  • 32,996
  • 80
  • 259
  • 444