def get_url(url, method=None, query=None, username=None, password=None, headers=None, contentType=None, post=None, connectTimeout=10, readTimeout=15, fullResponse=False): if fullResponse: return nodetoolkit.getHttpClient().makeRequest( url, method, query, username, password, headers, contentType, post, long(connectTimeout * 1000), long(readTimeout * 1000)) else: return nodetoolkit.getHttpClient().makeSimpleRequest( url, method, query, username, password, headers, contentType, post, long(connectTimeout * 1000), long(readTimeout * 1000))
def getURL(url, method=None, query=None, username=None, password=None, headers=None, contentType=None, post=None, connectTimeout=10, readTimeout=15): return nodetoolkit.getHttpClient().makeSimpleRequest( url, method, query, username, password, headers, contentType, post, long(connectTimeout * 1000), long(readTimeout * 1000))
def getURL(url, method=None, query=None, username=None, password=None, headers=None, contentType=None, post=None, connectTimeout=10, readTimeout=15): return nodetoolkit.getHttpClient().makeSimpleRequest(url, method, query, username, password, headers, contentType, post, long(connectTimeout*1000), long(readTimeout*1000))
def get_url(url, method=None, query=None, username=None, password=None, headers=None, contentType=None, post=None, connectTimeout=10, readTimeout=15, fullResponse=False): if fullResponse: return nodetoolkit.getHttpClient().makeRequest(url, method, query, username, password, headers, contentType, post, long(connectTimeout*1000), long(readTimeout*1000)) else: return nodetoolkit.getHttpClient().makeSimpleRequest(url, method, query, username, password, headers, contentType, post, long(connectTimeout*1000), long(readTimeout*1000))