- Spring 5.0 Projects
- Nilang Patel
- 78字
- 2021-07-02 12:34:58
Defining the RESTful API controller for city resource
For the city resource we would need the following APIs:
- Get cities for a given country
- Add a new city to the country
- Delete the city from the country
The code for this controller can be found in the CityAPIController class and the tests for the API controller can be found in the CityAPIControllerTest class, which is available in the source code of this book.
推薦閱讀
- 物聯(lián)網(wǎng)標準化指南
- 高校網(wǎng)絡(luò)道德教育研究
- 物聯(lián)網(wǎng)工程規(guī)劃技術(shù)
- 光網(wǎng)絡(luò)評估及案例分析
- Building Django 2.0 Web Applications
- HTML5 Game development with ImpactJS
- 企業(yè)私有云建設(shè)指南
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- 圖解手機元器件維修技巧
- SAE原理與網(wǎng)絡(luò)規(guī)劃
- 物聯(lián)網(wǎng)與智能家居
- 計算機網(wǎng)絡(luò)技術(shù)及應(yīng)用
- Learning Windows 8 Game Development
- AIoT應(yīng)用開發(fā)與實踐
- 5G技術(shù)核心與增強:從R15到R17