Web Request: CRUD API


I am trying to solve the Web Request: CRUD API module, but I am stuck at this question:

“First, try to update any city’s name to be ‘flag’. Then, delete any city. Once done, search for a city named ‘flag’ to get the flag.”.

If I understand the question correctly, there should be a city with the name ‘flag’? In order to find that city, I used the following command:

curl -s

However, it returns an empty array. Hence, I cannot find the flag.

What am I doing wrong here?

Thanks in advance,


Try deleting two cities. Sometimes it populates after that.

Yes, that worked indeed! Thanks!

1 Like

No worries! Glad it helped.