Last active
March 24, 2016 15:34
-
-
Save robert8138/7e42869e9e234aa8b7c3 to your computer and use it in GitHub Desktop.
This file contains 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
@webapp.route('/', methods = ['GET', 'POST']) | |
def hello_world(): | |
if request.method == 'POST': | |
return 'Hello World!' + request.form.get('username', '') | |
else: | |
return 'Hello World Anonymous!' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment