![Building RESTful Web Services with Spring 5(Second Edition)](https://wfqqreader-1252317822.image.myqcloud.com/cover/282/36700282/b_36700282.jpg)
上QQ阅读APP看书,第一时间看更新
Testing the endpoint – getUser
As we have finished out first API implementation, we can now test it by calling the following URI in the browser using the GET method:
http://localhost:8081/user/100
You should get the following result:
{
userid: 100,
username: "David"
}