You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
194 B
Python
13 lines
194 B
Python
2 years ago
|
from klein import Klein
|
||
|
|
||
|
|
||
|
class API(object):
|
||
|
"""
|
||
|
Our API webapp.
|
||
|
"""
|
||
|
|
||
|
app = Klein()
|
||
|
@app.route("/test", methods=["GET"])
|
||
|
def hello(self, request):
|
||
|
return "Hello"
|