
上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"
}