Fixed example html, fixed return value of generatePOST()