

def execute(self, uri=None, data=None):
    if isinstance(data, dict):
        self.data.update(data)
    (headers, body) = self.prepare_request()
    response = None
    if isinstance(self.hostname, (list, tuple)):
        for host in self.hostname:
            response = self.connect(host, data, body, headers)
            if (response and (response.getcode() == 200)):
                break
    else:
        response = self.connect(self.hostname, uri, body, headers)
    if (not response):
        raise ApiProxyError(('Unable connect to the specified url: %s' % str(self.hostname)))
    return response

dataset/ETHPy150Open smsapi/smsapi-python-client/smsapi/proxy.py ApiHttpProxy.execute/VarMisuse@87/92 `uri`->`data`