Simple Java HTTP Server with using Socket API
How to:
- Run user.sql script into H2 DB (Address must be 'jdbc:h2:~/test')
- Start MainClass application
- To invoke HTTP method GET (e.g. in cURL), type "curl -X GET http://localhost:1234/1"
- To invoke HTTP method POST (e.g. in cURL), type "curl -X POST http://localhost:1234/4/James/May"
- To see log go to logs/app.log
P.S. Make sure that you added H2 JDBC-driver and log4j2-library into your project. Additional libraries: