Requirements

A URL endpoint where we will POST the data. Displaying and distributing the data is the responsibility of the third party.

POST http://www.example.com/cities

Corrections to cities (fact correction, typo correction) is provided via a PUT request to an endpoint:

PUT http://www.example.com/cities/:id

Deleting cities is done via a DELETE request to an endpoint:

DELETE http://www.example.com/cities/:id

Format

The data is json encoded.

Response

Please respond with status 2xx