change post to get model