Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error for routes with and without / #575

Closed
lucasnneto opened this issue Feb 25, 2021 · 4 comments
Closed

Error for routes with and without / #575

lucasnneto opened this issue Feb 25, 2021 · 4 comments

Comments

@lucasnneto
Copy link

/pokemon/71/ don't work but /pokemon/71 works,
even for /pokemon/2 return 404 and /pokemon/2/ works

@phalt
Copy link
Member

phalt commented Feb 26, 2021

Just want to check you're using URLs supplied by the API and not writing them yourself?

@Naramsim another ending-slash issue

@lucasnneto
Copy link
Author

I am currently using these urls https://pokeapi.co/api/v2/pokemon/2 and https://pokeapi.co/api/v2/pokemon/71/ from the API

@Naramsim
Copy link
Member

Yep, @lucasnneto @phalt, it's always the very same issue with Cloudflare caches.

I didn't find any possible solution to it

@Naramsim
Copy link
Member

Hello,

this issue was resolved by PokeAPI/deploy#23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants