switch handlePlanner test get to post