apilayer / restcountries

Get information about countries via a RESTful API
https://restcountries.eu
Mozilla Public License 2.0
2.24k stars 355 forks source link

restcountries.com is going down frequently #198

Closed FaizanZahid closed 3 years ago

FaizanZahid commented 4 years ago

hi,

I have noticed this a number times that https://restcountries.com goes down with either 502 error or 404. Right now if I go on that url I am getting 404 error. image

Can you guys please fix this and keep it 200 ok response ? Also is there any other way for us to use this API internally or locally without relying on CDN, as this CDN is not reliable.

I have also tried using https://restcountries.eu but many end points of this are different and it is causing lot of conflicts on our project.

please fix this or provide us a better fall back solution asap.

ePascalC commented 4 years ago

Hi, this repository is all about restcountries.eu and has nothing to see with the forked .com version.

FaizanZahid commented 4 years ago

@ePascalC ok , can you please share with me the repo URL of the https://restcountries.com/ >?

amatosg commented 4 years ago

If you want to run it locally, you can use the docker image: docker pull registry.gitlab.com/amatos/rest-countries:latest and run it with docker run -d -p 8080:8080 registry.gitlab.com/amatos/rest-countries:latest