예제 #1
0
def hook():
    api = ApiController()
    data = api.route(request.headers, request.json)
    return jsonify(success="success")
예제 #2
0
def hook():
    api = ApiController()
    data = api.route(request.headers, request.json)
    return jsonify(success="success")
예제 #3
0
파일: views.py 프로젝트: nivertech/gordon
def hook():
    api = ApiController()
    sentry.captureMessage('received a hook with the following: \n{0}'.format(request.json))
    data = api.route(request.headers, request.json)
    return jsonify(success="success")