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
  • 35,076
  • 87
  • 265
  • 471

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
  • 623,577
  • 216
  • 2,003
  • 1,567
Elad Benda
  • 35,076
  • 87
  • 265
  • 471