New ValidateRequest Function

This function already checks if the request method is valid.