0

i'm trying to use a webservice from angular 4 project , but i have this issue in the console of chrome browser :

enter image description here for more details get method work correctly .

the adresse : 192.168.1.110:8000 is adress of my backend projet

the adresse : 192.168.1.110:4200 is adress of my frontend projet (angular)

what's wrong please ?

Yassine CHABLI
  • 3,459
  • 2
  • 23
  • 43
  • Possible duplicate of [How does Access-Control-Allow-Origin header work?](https://stackoverflow.com/questions/10636611/how-does-access-control-allow-origin-header-work) – GreyBeardedGeek May 29 '17 at 20:02

1 Answers1

1

Because of the way browser works your request is blocked. You need to google how to enable CORS on your development platform here. Or you can search SO for what is and how to enable CORS.