- 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.
推薦閱讀
- Aptana Studio Beginner's Guide
- 網(wǎng)絡(luò)協(xié)議工程
- 物聯(lián)網(wǎng)網(wǎng)絡(luò)安全及應(yīng)用
- 局域網(wǎng)組建、管理與維護項目教程(Windows Server 2003)
- Microservice Patterns and Best Practices
- 2小時讀懂物聯(lián)網(wǎng)
- 端到端QoS網(wǎng)絡(luò)設(shè)計
- 人人都該都懂的互聯(lián)網(wǎng)思維
- INSTANT LinkedIn Customization How-to
- 深入理解計算機網(wǎng)絡(luò)
- 物聯(lián)網(wǎng)
- 物聯(lián)網(wǎng),So Easy!
- 網(wǎng)絡(luò)安全和信息化黨政領(lǐng)導(dǎo)干部一本通
- 網(wǎng)絡(luò)是怎樣連接的
- 物聯(lián)網(wǎng)工程應(yīng)用技術(shù)