REST Countries v1

FREE
By apilayer | Updated 8 days ago | Data
Popularity

0.5 / 10

Latency

37ms

Service Level

100%

Health Check

N/A

Back to All Discussions

Can't get all countries

Rapid account: Netifriik
netifriik
10 years ago

https://restcountries-v1.p.mashape.com/ is returning with header “HTTP/1.1 302 Moved Temporarily” and redirects to https://www.mashape.com/fayder/REST-Countries-v1, and if you echo the response you will echo the whole page.

Rapid account: Fayder
fayder Commented 10 years ago

Hey there. I had not noticed this before. I’ll take a look and I’ll get back to you in the next 12h (I’m really sleepy right now). In the meantime, maybe you could use the service directly, without mashape’s authorization http://restcountries.eu/rest/v1.

More at http://restcountries.eu

Rapid account: Fayder
fayder Commented 10 years ago

Hello again. So I added a parameter to get all countries: https://restcountries-v1.p.mashape.com/all
Seems to be working. Apparently there’s an issue if there are no parameters.

Thanks for notifying!

Join in the discussion - add comment below:

Login / Signup to post new comments