implement errors/get/post