Scott's update:

fixed broken server, added form to index.html for post request