Currently I am doing it like this:
const url = “https://football-prediction-api.p.rapidapi.com/api/v2/performance-stats”;
But I get an error that I am missing the api-key, how could I use it?
Thank you
Join in the discussion - add comment below:
You need to provide an opts parameter when you do the fetch, something like this