![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 – 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:
![](https://epubservercos.yuewen.com/C1132F/19470398508911206/epubprivate/OEBPS/Images/523cfdae-1c96-4847-bd10-03d5528e29b8.png?sign=1738855797-KpndoKZ5zvasp85hsYvJAeKKX9Wkmxwq-0-36313f392da536c691b29e35507b10da)
After updating the new user, you can check the results by calling the getAllUsers URI (http://localhost:8081/user).