def handle_post()

in bigquery-jobs-notifier/run/app.py [0:0]


def handle_post():
    #app.logger.info(pretty_print_POST(request))

    # Read the CloudEvent from the request
    cloud_event = from_http(request.headers, request.get_data())

    # Parse the event body
    aboveLimit, message = read_event_data(cloud_event)

    if aboveLimit:
        notify(message)

    return 'OK', 200