Created
February 8, 2019 15:00
-
-
Save pythononwheels/d0f067c0d1133cb5a293cda6db8b9f5f 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
@app.make_method_routes() | |
class HelloHandler(BaseHandler): | |
@route(r'/hello/<int:identifier>', dispatch=["get"]) | |
def hello(self, identifier=None): | |
self.write("Hello world! " + str(identifier)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment