A small HTTP server in python made for learning purposes
- Clone the repository
- Run the server.py file with optional arguments:
--portto specify the port number (default is 6666)--hostto specify the host (default is localhost)
- Use curl (or any other tool) to make requests to the server, for example you can try:
curl http://localhost:6666 - To stop the server, press
Ctrl+Cin the terminal where the server is running.