Пример #1
0
def follow():
    request_data = get_json(request)

    code, response = User.follow(request_data['follower'], request_data['followee'])
    return json.dumps({
        'code': code,
        'response': response
    })