Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Problem searching string starting with "eng" #130

Open
Gorbus opened this issue Jun 16, 2019 · 1 comment
Open

Problem searching string starting with "eng" #130

Gorbus opened this issue Jun 16, 2019 · 1 comment

Comments

@Gorbus
Copy link

Gorbus commented Jun 16, 2019

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 Gorbus changed the title Problème searching string starting with "eng" Problem searching string starting with "eng" Jun 16, 2019
@Amn3s1a2018
Copy link

Amn3s1a2018 commented Oct 15, 2019

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".

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

No branches or pull requests

2 participants