restcountries icon indicating copy to clipboard operation
restcountries copied to clipboard

Problem searching string starting with "eng"

Open Gorbus opened this issue 5 years ago • 1 comments

Hi,

No idea how this is possible but :

https://restcountries.eu/rest/v2/name/eng

is giving a 404, while

https://restcountries.eu/rest/v2/name/fra

(or any other strings that I tried for that matters) is working.

Gorbus avatar Jun 16 '19 07:06 Gorbus

There is no full text search: https://restcountries.eu/#api-endpoints-name It looks for the string only in name (maybe in altspellings), so the 404 is the right answer, cause no country name containing "eng".

Amn3s1a2018 avatar Oct 15 '19 14:10 Amn3s1a2018