import java.net.*;
import java.io.*;

class test2 {

	public static void main(String[] args) throws IOException {
		URL u = new URL(args[0]);
		URLConnection uc = u.openConnection();
		uc.setDoOutput(true);
		uc.connect();
		OutputStream out = uc.getOutputStream();	
		out.write("hello does this work?".getBytes());
		out.flush();
		out.close();	
	}
}
