public String HttpRequest(String url)
	{
		try
		{
			String content = "";
			
			URL conn = new URL(url);
	        URLConnection yc = conn.openConnection();
	        
	        yc.setConnectTimeout(5000);
	        yc.setReadTimeout(5000);
	        
	        BufferedReader in;
			
			in = new BufferedReader(new InputStreamReader(yc.getInputStream()));

	        String inputLine;
	       
			while ((inputLine = in.readLine()) != null) 
			{
				content = content + inputLine;
			}
			
			in.close();
			
			return content;
		}
		catch(ConnectException e)
		{
			BukkitInterface.getInstance().getLogger().severe("HTTP request failed due to connection error.");
		}
		catch(SocketTimeoutException e)
		{
			BukkitInterface.getInstance().getLogger().severe("HTTP request failed due to timeout error.");
		}
		catch(FileNotFoundException e)
		{
			BukkitInterface.getInstance().getLogger().severe("HTTP request failed due to file not found.");
		}
		catch(UnknownHostException e)
		{
			BukkitInterface.getInstance().getLogger().severe("HTTP request failed due to unknown host.");
		}
		catch (Exception e) 
		{
			e.printStackTrace();
		}
		
		return null;
	}