update todo-web to support curl post data