Add first controller
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import logging
|
||||
from app import app
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@app.route("/comments", methods=['GET'])
|
||||
def get_comments():
|
||||
return "OK"
|
||||
Reference in New Issue
Block a user