- Building RESTful Web Services with Spring 5(Second Edition)
- Raja CSP Raman Ludovic Dewailly
- 71字
- 2021-06-30 19:13:30
Testing the endpoint – getAllUsers
As we have finished out first API implementation, we can now test it by calling the following URI in the browser:
http://localhost:8081/user
You should get the following result:
[
{
userid: 100,
username: "David"
},
{
userid: 101,
username: "John"
},
{
userid: 102,
username: "Kevin"
}
]
You can also check the API in any REST client, like Postman/SoapUI or any other REST client.
推薦閱讀
- 社交網(wǎng)絡(luò)對齊
- 物聯(lián)網(wǎng)標(biāo)準(zhǔn)化指南
- INSTANT PhpStorm Starter
- 物聯(lián)網(wǎng)之魂:物聯(lián)網(wǎng)協(xié)議與物聯(lián)網(wǎng)操作系統(tǒng)
- 計(jì)算機(jī)網(wǎng)絡(luò)與數(shù)據(jù)通信
- 物聯(lián)網(wǎng)與無線傳感器網(wǎng)絡(luò)
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- 中國互聯(lián)網(wǎng)發(fā)展報(bào)告2018
- 物聯(lián)網(wǎng)頂層設(shè)計(jì)與關(guān)鍵技術(shù)
- 5G+區(qū)塊鏈
- 園區(qū)網(wǎng)絡(luò)架構(gòu)與技術(shù)
- 中國互聯(lián)網(wǎng)發(fā)展報(bào)告2021
- Getting Started with tmux
- 物聯(lián)網(wǎng)與智慧廣電
- Building Microservices with Spring