Create a DELETE function with this URL: http://localhost:8080/users, and hit Send. This will delete the specific user from the database, as shown in the following screenshot:
If you check all the users, then you will see that there are only seven.
Finally, we have created an application that is using JDBC, and we have also created a REST API. You can check out our GitHub project for the latest update if there is any. I also add a SQL file with the MySQL code.