![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 – deleteUser
As we have finished out first API implementation, we can now test it by calling the URI http://localhost:8081/user/100 in our client (Postman or SoapUI) using the DELETE method:
![](https://epubservercos.yuewen.com/C1132F/19470398508911206/epubprivate/OEBPS/Images/df51fdd2-5775-4372-b8a4-8db654b3a0ff.png?sign=1738855765-46LUbFHGjoUubpC9pKQGoi041Hm0sGqP-0-463d98460a43266836883d27c43ae704)
After deleting the new user, you can check the results by calling the getAllUsers URI (http://localhost:8081/user).