Run App.java as a console application.
-Install Postman and Postman Interceptor extensions in Chrome. -Turn on the interceptor in Postman and Postman Interceptor. All requests in Postman will go through Postman Interceptor. -Refer to application.yml for password
- In chrome, go to localhost:8181/h2
- Connect using the password in application.yml. It should be blank by default.
- Create, delete, update data in UI.
-Create a new script in V#_newtask.sql
POST http://localhost:8181/api/v1/users
{
"firstName": "jim",
"lastName": "bob",
"email": "jbob@test.com",
"phoneNumber": "222-333-4444"
}
GET http://localhost:8181/api/v1/users/1
PUT http://localhost:8181/api/v1/users/1
{
"firstName": "jim",
"lastName": "bob",
"email": "jbob@test.com",
"phoneNumber": "111-222-3333"
}