Miscellany
public text v1 · immutableimport java.net.*;
import java.io.*;
public class ImFeelingLucky2 {
public static void main(String[] args) {
try {
String req = "http://howitzer.daimi.au.dk:10500/Wiki/Server?word=jspr";
HttpURLConnection con = (HttpURLConnection) (new URL(req)).openConnection();
con.setRequestProperty("User-Agent", "IXWT");
con.setRequestMethod("PUT");
} catch (IOException e) {
System.err.println(e);
}
}
}