check if either get or post are set