@app.route('/hook', methods=['GET', 'POST'])
def index():
    if request.method == 'GET':
        return 'hello, I am app2 - please send me a webhook.'
    else:
        return json.dumps(dict(
            message='App 2 - Message received, sending hook data',
            status=200,
            data=random_binary(12)))
# TODO Comment
dataset/ETHPy150Open christabor/MoAL/MOAL/systems_engineering/architecture/api_design/webhooks/app2.py/index--crossover with--dataset/ETHPy150Open karesansui/pysilhouette/pysilhouette/db/__init__.py/dbupdate