Free-to-Play Games Database

FREE
By Digiwalls Media | Updated il y a 16 jours | Gaming
Popularity

9.8 / 10

Latency

684ms

Service Level

99%

Health Check

N/A

Back to All Discussions

Games urls favicons

Rapid account: Javiersilvavalenzuela
javiersilvavalenzuela
il y a 8 mois

Hi,

I’ve been trying to retrieve the favicons from the games web pages, but I’ve encountered an issue with redirection from freetogame.com.

I’m using the following code:

const response = await fetch(originalUrl, {
  method: 'HEAD',
  redirect: 'follow',
  headers: {
    'X-RapidAPI-Key': '',
    'X-RapidAPI-Host': 'free-to-play-games-database.p.rapidapi.com'
  },
});
const finalUrl = response.url;

However, the request is being blocked due to CORS restrictions.

Is there a solution or workaround to this CORS issue that you could suggest?

Thanks

Rapid account: Digiwalls
digiwalls Commented il y a 8 mois

Hi Javier,

Please note that the requested feature is not currently supported within our API capabilities, and regrettably, we are unable to provide assistance in this regard.

Join in the discussion - add comment below:

Login / Signup to post new comments