13 lines
194 B
Python
13 lines
194 B
Python
from klein import Klein
|
|
|
|
|
|
class API(object):
|
|
"""
|
|
Our API webapp.
|
|
"""
|
|
|
|
app = Klein()
|
|
@app.route("/test", methods=["GET"])
|
|
def hello(self, request):
|
|
return "Hello"
|