ExerciseDB

FREEMIUM
От Justin | Обновлено 9 days ago | Health and Fitness
Популярность

9.9 / 10

Задержка

375ms

Уровень обслуживания

95%

Health Check

100%

Назад ко всем обсуждениям

403 error

Rapid account: Rajpootrehan 386
rajpootrehan386
5 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 5 months ago

log that environment variable to verify it’s correctly configured

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии