public int returnHttpData() throws Exception {

		if (this.isConsumerKeyExists() && this.isConsumerSecretExists()) {

			// Start with call Type
			String params = callType;

			// Add query
			params = params.concat("?q=");

			// Encode Query string before concatenating
			params = params.concat(URLEncoder.encode(this.getSearchString(),
					"UTF-8"));

			// Create final URL
			String url = yahooServer + params + "&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys";

			// Create oAuth Consumer
			OAuthConsumer consumer = new DefaultOAuthConsumer(consumer_key,
					consumer_secret);

			// Set the HTTPS request correctly
			httpsRequest.setOAuthConsumer(consumer);

			System.out.println("sending get request to "
					+ URLDecoder.decode(url, ENCODE_FORMAT));
			int responseCode = httpsRequest.sendGetRequest(url);

			// Send the request
			if (responseCode == HTTP_STATUS_OK) {
				System.out.println("Response ");
			} else {
				System.out.println("Error in response due to status code = "
						+ responseCode);
			}
			System.out.println(httpsRequest.getResponseBody());

		} else {
			System.out.println("Key/Secret does not exist");
		}
		return 1;
	}