hello I have a problem when consuming the service to generate a token in java gives me the error of java.net.SocketTimeoutException: Read timed out, Could you help me? This is the part where I use the service.
HttpURLConnection conn = null;
try {
URL url = new URL(urlZoom);
conn = (HttpURLConnection) url.openConnection();
conn.setRequestProperty("Authorization", "Basic ZWpQQXBnX3FTTlNCWUZ5RDlOSn");
conn.setRequestMethod("POST");
conn.setDoOutput(true);
conn.setUseCaches(false);
//String input = obj.toString();
OutputStream os = conn.getOutputStream();
//os.write(input.getBytes());
//os.write(obj.toJSONString);
os.flush();