Adding API validation for HTTPS Redirect.