endpoint protocol will match currently viewed page