All these 3 links below will redirect to: https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
- https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml?raw=true
- https://github.com/coreos/flannel/raw/master/Documentation/kube-flannel.yml
- https://github.com/coreos/flannel/raw/master/Documentation/kube-flannel.yml?raw=true
Alternative:
curl -sSL https://api.github.com/repos/coreos/flannel/contents/Documentation/kube-flannel.yml?ref=master | grep -w content | cut -d'"' -f4 | sed 's!\\n!!g' | base64 -d