Closed pmutshipayi closed 2 years ago
Hi @pmutshipayi , Thanks for reporting this bug, apparently we were formatting payload that includes "state". Mostly because not a lot of state names end with "state", I guess we forgot free state was a state (lol). I've opened a new MR to resolve this problem. Feel free to have a look and approve it.
When trying to get cities by state, if the state name contains the word
state
the request fail with errorstate not found
Example 1:
https://countriesnow.space/api/v0.1/countries/state/cities payload
Example 1:
https://countriesnow.space/api/v0.1/countries/state/cities payload
response:
Example 2:
https://countriesnow.space/api/v0.1/countries/state/cities
payload
Response: