0

I wanted to get JSON data from this link here:

JSON Data

when I open it in my Browser I get the data. But when I want to get it with Angular HTTP-Client I get the following error:

Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 403.

Then I got a chrome plugin called CORS with which the error reduced to:

Response for preflight has invalid HTTP status code 403.

So is it possible to get the data?

OcK
  • 93
  • 13

0 Answers0