restcountries icon indicating copy to clipboard operation
restcountries copied to clipboard

Some requests return a list with the value null inside

Open chrisbartoloburlo opened this issue 2 years ago • 1 comments

This happens for both v1 and v2:

When sending a request for a country via a non-existent alpha code we get [null], rather than just the empty list [].

curl -v \
  --url 'http://localhost:8080/rest/v2/alpha?codes=QG' 

chrisbartoloburlo avatar Oct 18 '22 07:10 chrisbartoloburlo

this project is now dead :( as such, I forked it here

amatosg avatar Oct 27 '22 04:10 amatosg