Example #1
0
def upload():
    # parser data to sql
    user, data = _parse_data_from_upload_request()
    # return Database.upload(user, data)
    return _data_as_response(Database.test_data_uploaded_data(1))
Example #2
0
def uploaded_data_by_id(data_id):
    print('id {}'.format(data_id))
    # load test data
    return _data_as_response(Database.test_data_uploaded_data(data_id))