make validate method POST, added validate method spec