Hi,
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 http://144.126.192.49:31678/api.php/city/flag
However, it returns an empty array. Hence, I cannot find the flag.
What am I doing wrong here?
Thanks in advance,
Roy