Add getPost method