Wow – it initially seemed much harder to do REST web services in Java than it should have been – it took a while for me to find this web site. Everyone wanted me to download a jar or something – I knew this had to work in a few lines of Java with no jars…
Thanks to: http://xml.nig.ac.jp/tutorial/rest/index.html
My code below.