Debug post options
This commit is contained in:
parent
c0666262be
commit
537940381b
1 changed files with 6 additions and 1 deletions
|
@ -60,7 +60,12 @@ def get_comments_count(request):
|
||||||
return r
|
return r
|
||||||
|
|
||||||
|
|
||||||
@app.route("/comments", methods=['POST','OPTIONS'])
|
@app.route("/comments", methods=['OPTIONS'])
|
||||||
|
def option_comments(request):
|
||||||
|
return response.text('OK')
|
||||||
|
|
||||||
|
|
||||||
|
@app.route("/comments", methods=['POST'])
|
||||||
def new_comment(request):
|
def new_comment(request):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue