private Document getHtml(serverCall call) throws IOException, badApplicationScriptParsingException{
		Connection con=Jsoup.connect(call.url).userAgent(call.userAgent).ignoreContentType(true).followRedirects(true).timeout(20000);
		if(call.variables!=null) con.data(call.variables);
		switch (call.type){
			case "GET": return con.get();
			case "POST": return con.post();
			default: throw new badApplicationScriptParsingException ("The type "+call.type+" of the call is not a valid type");
		}
	}