Free-to-Play Games Database

חינם
על ידי Digiwalls Media | מְעוּדכָּן 15 days ago | Gaming
פּוֹפּוּלָרִיוּת

9.8 / 10

חֶבִיוֹן

684ms

רמת שירות

99%

Health Check

N/A

חזרה לכל הדיונים

Games urls favicons

Rapid account: Javiersilvavalenzuela

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 8 months ago

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.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות