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
Participez à la discussion - ajoutez un commentaire ci-dessous:
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.