bgrnwd/fotmob

CORS Issues

Closed this issue · 3 comments

Describe the bug
Every API call is blocked by CORS policy

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Angular Project
  2. Install package
  3. Do any http call
  4. Error Access to XMLHttpRequest at 'https://www.fotmob.com/api/matchDetails?matchId=3917969' from origin 'https://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Expected behavior
JSON result to be printed

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version Last stable

This package is supposed to be used from the server.
Maybe we should add it to the docs? @bgrnwd

Yeah, let's add it

This issue can be closed. the readme says it is a backend library