ExerciseDB

FREEMIUM
Par Justin Mozley | Mise à jour 3 hours ago | Health and Fitness
Popularité

9.8 / 10

Latence

546ms

Niveau de service

100%

Health Check

100%

Retour à toutes les discussions

403 error

Rapid account: Rajpootrehan 386
rajpootrehan386
3 months ago

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

log that environment variable to verify it’s correctly configured

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires