Last active
January 4, 2019 19:16
-
-
Save Khalian/72126a965e115f70da1b7c427be94cad to your computer and use it in GitHub Desktop.
Simple command line webserver
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simple server init : python -m SimpleHTTPServer 8000 | |
Simple get request : echo -e "GET / HTTP/1.1" | nc localhost 8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment