changed content type to text/plain
changed html demo to do post instead of websocket