fix get/post for sample todo