public static URL buildURL(DTRequest domainToolsRequest){
		String uri = getURI(domainToolsRequest);
		uri = DTConstants.PATH+"/"+uri;
		String stringUrl = "";
		Boolean parameters = false;
		if(domainToolsRequest.getDomainTools().isUseFreeAPI()) stringUrl = DTConstants.SCHEME+DTConstants.HOSTFREE+uri;
		else stringUrl = DTConstants.SCHEME+DTConstants.HOST+uri;		
		stringUrl.concat("?");
		//If the user want to use the signed authentication
		if(domainToolsRequest.getDomainTools().isSigned()) stringUrl = addSignature(domainToolsRequest, uri, stringUrl);
		else stringUrl = addUserNameAndKey(domainToolsRequest, stringUrl);
		stringUrl = addParameters(domainToolsRequest, stringUrl);
		stringUrl = addResponseFormat(domainToolsRequest, stringUrl);
		URL url = null;
		try {
			url  = new URL(stringUrl);
		} catch (MalformedURLException e) {
			e.printStackTrace();
		}
		return url;
	}