Added the before_request so that all calls must have a valid token.

Next is to get all the rest tests to pass again.
This commit is contained in:
Rebecca Law
2016-01-14 17:45:30 +00:00
parent 37b571235f
commit 5f59b631e1
5 changed files with 130 additions and 142 deletions

View File

@@ -4,7 +4,7 @@ from flask import Blueprint
status = Blueprint('status', __name__)
@status.route('/_status')
@status.route('/_status', methods=['GET', 'POST'])
def show_status():
return jsonify(
status="ok",