def METHOD_NAME(self, command, endpoint):
    nao_request = Request('POST', self.lab_address + endpoint)
    nao_request.data = command
    nao_request.headers['Content-Type'] = 'application/json'
    nao_prepared_request = nao_request.prepare()
    return self.nao_session.send(nao_prepared_request)