Files
notifications-api/app/status/healthcheck.py
Rebecca Law 5f59b631e1 Added the before_request so that all calls must have a valid token.
Next is to get all the rest tests to pass again.
2016-01-15 17:01:26 +00:00

12 lines
218 B
Python

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