- 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.
推薦閱讀
- 互聯網安全的40個智慧洞見:2014年中國互聯網安全大會文集
- 計算機網絡工程實用教程(第2版)
- 網絡環境中基于用戶視角的信息質量評價研究
- 局域網組成實踐
- 園區網絡架構與技術
- 深入理解計算機網絡
- 新媒體交互藝術
- SEO攻略:搜索引擎優化策略與實戰案例詳解
- Hands-On Microservices:Monitoring and Testing
- Learning IoT with Particle Photon and Electron
- Advanced Node.js Development
- 物聯網與智能制造
- 華為HCIP路由與交換技術實戰
- 趣學CCNA:路由與交換(第2版)
- Developing Web Applications with Oracle ADF Essentials