- Clone dự án về máy
- Open project với Netbeans
- Build and run
- Test api:
- http://localhost:8080/javaweb_api_testing/EmployeeServlet -- get request
- postman:
- POST - http://localhost:8080/javaweb_api_testing/EmployeeServlet
- JSON - { "id": 1, "name": "Tran Van An", "department": "IT", "salary": 6000 }