ExerciseDB

フリーミアム
よって Justin | 更新済み 7日前 | Health and Fitness
人気

9.9 / 10

レイテンシー

359ms

サービスレベル

98%

Health Check

100%

すべてのディスカッションに戻る

403 error

Rapid account: Rajpootrehan 386
rajpootrehan386
5ヶ月前

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ヶ月前

log that environment variable to verify it’s correctly configured

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿