@app.route('/process')
def process():
    request_id = None
    try:
        in_param = request.get_json(force=True, silent=False, cache=False)
        if (decrypt(in_param['request_token']) != token):
            raise InvalidToken(in_param)
        if ('request_id' not in in_param):
            request_id = get_uuid()
            in_param['request_id'] = request_id
        else:
            request_id = in_param['request_id']
        if ('request_timestamp' not in in_param):
            in_param['request_timestamp'] = now()
        in_param['logger'] = logger
        in_param['get_db_connection'] = get_db
        func = load_function(in_param)
        resp = func()
    except:
        e = trace_error(logger)
        resp = {'request_id': request_id, 'request_status': 'error', 'request_error': str(e[(- 1)])}
    return jsonify(resp)
@app.route('/process')
def process():
    request_id = None
    try:
        in_param = request.get_json(force=True, silent=False, cache=False)
        if (decrypt(in_param['request_token']) != token):
            raise InvalidToken(in_param)
        if ('request_id' not in in_param):
            request_id = get_uuid()
            in_param['request_id'] = request_id
        else:
            request_id = in_param['request_id']
        if ('request_timestamp' not in in_param):
            in_param['request_timestamp'] = now()
        in_param['logger'] = logger
        in_param['get_db_connection'] = get_db
        func = load_function(in_param)
        resp = func()
    except:
        e = trace_error(logger)
        resp = {'request_id': request_id, 'request_status': 'error', 'request_error': str(e[(- 1)])}
    return jsonify(resp)