Control Vlc with requests - java
问题 I want to control vlc with java code and its web interface using http://localhost:8080 The problem is I don't know how exactly I must use the http requests. Here is some code I have written: URL url = new URL("http://127.0.0.1:8080/"); HttpURLConnection con = (HttpURLConnection) url.openConnection(); con.setDoOutput(true); con.setRequestMethod("GET"); con.setRequestProperty("If-Modified-Since", "29 Oct 1999 19:43:31 GMT"); con.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration