ExerciseDB

FREEMIUM
By Justin | Updated il y a 9 jours | Health and Fitness
Popularity

9.9 / 10

Latency

375ms

Service Level

95%

Health Check

100%

Back to All Discussions

403 error

Rapid account: Rajpootrehan 386
rajpootrehan386
il y a 5 mois

its says you not subcribe to the api but i subcribe it
export const exerciseOption = {

    method: 'GET',
    params: {limit: '10'},
    headers: {
      'X-RapidAPI-Key': process.env.REACT_APP_RAPID_API_KEY,
      'X-RapidAPI-Host': 'exercisedb.p.rapidapi.com'
    }

}

export const FetchData=async (url , options)=>{
const response = await fetch(url , options);
const data = await response.json();
return data;
}

Rapid account: Justin W Fns XH T 6
justin-WFnsXH_t6 Commented il y a 5 mois

log that environment variable to verify itโ€™s correctly configured

Join in the discussion - add comment below:

Login / Signup to post new comments