I written this simple http webserver to teach my self c++ , networking programming and REST API.
To run:
cd.\webserver
server.exe
You can change the port at you like the default port is 8080.after changing you port,recompile the the main.cpp file with
g++ main.cpp server.cpp -lws2_32 -o test_compile
The server supports basic HTTP methods like.
- GET
- POST
- PUT
- DELETE