cross-origin error in angular

roizofiof 3 weeks ago 0


I'm trying to convert georgian date to hebrew date via your api but I get this error:

Access to XMLHttpRequest at 'https://www.hebcal.com/converter/?cfg=json&gy=2000&gm=12&gd=31&g2h=1' from origin 'http://localhost:4200' has been blocked by CORS policy: Request header field Access-Control-Allow-Origin is not allowed by Access-Control-Allow-Headers in preflight response.

I am using angular observable.

What I need to do?