ExerciseDB

FREEMIUM
Door Justin | Bijgewerkt 9 days ago | Health and Fitness
Populariteit

9.9 / 10

Latency

376ms

Serviceniveau

95%

Health Check

100%

Terug naar alle discussies

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

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen