I'm new to programming and I got a project to make a rest API. I made one using spring boot to use GET and POST operations. Now I'm trying to get it to work on a simple java application where,
- The user inserts their first name using the java scanner.
- Then sends a POST request to send it to a database.
So far the API works fine in Postman but I have no idea on how to add it to java using a method.
( I used this tutorial to make the api : https://www.callicoder.com/spring-boot-rest-api-tutorial-with-mysql-jpa-hibernate/ )