Pokemon Go

GRATUITO
Por Christopher Hewett | Atualizado 5 दिन पहले | Gaming
Popularidade

9.5 / 10

Latência

243ms

Nível de serviço

100%

Health Check

N/A

Voltar para todas as discussões

401 (Unauthorized)

Rapid account: Jbarbosa 143
jbarbosa143
3 वर्ष पहले

getting that error when i try to do a pokemon name search

Rapid account: Chewett
Chewett Commented 3 वर्ष पहले

Good to hear its working, Do ask more questions if unsure!

Rapid account: Jbarbosa 143
jbarbosa143 Commented 3 वर्ष पहले

ok i got it figured out i did have issues with the URL i was trying to do to much at the start thanks and sorry for the inconvenience

Rapid account: Jbarbosa 143
jbarbosa143 Commented 3 वर्ष पहले

could i do think on postman? and if so what url do i need ?

Rapid account: Jbarbosa 143
jbarbosa143 Commented 3 वर्ष पहले

but its telling me i have an invaild key

Rapid account: Jbarbosa 143
jbarbosa143 Commented 3 वर्ष पहले

well i dont know what url im suppouse to actually use to be honest there wasnt clear instruction on that

Rapid account: Chewett
Chewett Commented 3 वर्ष पहले

That looks like a problem with the way you are calling the API, do you have similar issues if you call the API directly on pogoapi.net ?

Rapid account: Jbarbosa 143
jbarbosa143 Commented 3 वर्ष पहले
const uKey = document.querySelector('.key');
const pSub = document.querySelector(".uPSub");

pSub.addEventListener('click', function(){
    console.log('i was clicked')
    // const URL = `https://pokemon-go1.p.rapidapi.com//api/v1/${playerPokemon.value}.json`
    
    // fetch(URL)

    // .then((res) => res.json())

    // .then((json) =>{
    //     console.log(json)
    // })
    fetch(` https://pokemon-go1.p.rapidapi.com/api/v1/${playerPokemon.value}.jsonrapidapi-key=${uKey.value}`)
    
    .then(response => {
        console.log(response);
    })
    .catch(err => {
        console.error(err);
    })
    console.log(playerPokemon.value)
    console.log(uKey.value)
})```
Rapid account: Jbarbosa 143
jbarbosa143 Commented 3 वर्ष पहले

im not seeing your comments

Rapid account: Chewett
Chewett Commented 3 वर्ष पहले

Could you give me the details of what API you are calling and how you are calling it please?

Rapid account: Jbarbosa 143
jbarbosa143 Commented 3 वर्ष पहले

{“message”:“Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info.”}

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários