Building RESTful Web Services with Spring 5(Second Edition)
上QQ阅读APP看书,第一时间看更新

Testing the endpoint – updateUser

As we have finished out first API implementation, we can now test it by calling the URI http://localhost:8081/user in Postman or SoapUI, using the PUT method:

After updating the new user, you can check the results by calling the getAllUsers URI (http://localhost:8081/user).