simple http server that handles small set of HTTP 1.1 methods
- open terminal
- change directory to {YOUR-PROJ-PATH}/SimpleHTTPServer/bin/debug
- run :
./SimpleHTTPServer (port_number)
Note : that the port number the server attached to is given to the server as an input , if no arguments passed the defualt port will be 8080
- open {YOUR-PROJ-PATH}/SimpleHTTPServer/bin/debug
- add a simple HTML file ex : index.html
- open your broswer
- write in the URL bar : http://localhost:YOUR_PORT_NUMBER/FILE_REQUESTED ex :
http://localhost:8080/index.html
Voila :D