mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-11 07:42:20 -05:00
18 lines
309 B
Python
18 lines
309 B
Python
from flask import jsonify
|
|
from .. import main
|
|
|
|
|
|
# TODO need for health check url
|
|
|
|
|
|
# TODO remove
|
|
@main.route('/', methods=['GET'])
|
|
def get_index():
|
|
return jsonify(result="hello world"), 200
|
|
|
|
|
|
# TODO remove
|
|
@main.route('/', methods=['POST'])
|
|
def post_index():
|
|
return jsonify(result="hello world"), 200
|