Closed ewelinaMaz closed 3 years ago
Hello Azharimm, Did you set any headers in your api? I try to use it by my browser throw me this error: "Access to XMLHttpRequest at 'https://api-football-standings.azharimm.site/leagues/eng.1/standings?season=2021&sort=asc' from origin 'http://localhost:4200' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://azharimm.tk' that is not equal to the supplied origin."
I will be really grateful for your help. Best regards, Ewelina
Hi, i've remove the cors origin, please try again and let me know if it's fixed.
yes, thank you a lot :)
Hello Azharimm, Did you set any headers in your api? I try to use it by my browser throw me this error: "Access to XMLHttpRequest at 'https://api-football-standings.azharimm.site/leagues/eng.1/standings?season=2021&sort=asc' from origin 'http://localhost:4200' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://azharimm.tk' that is not equal to the supplied origin."
I will be really grateful for your help. Best regards, Ewelina