-
$ curl {{ .ifconfig_hostname }}
{{ .ip }}
-
$ curl {{ .ifconfig_hostname }}/ip
{{ .ip }}
-
$ curl {{ .ifconfig_hostname }}/host
{{ .host }}
-
$ curl {{ .ifconfig_hostname }}/country_code
{{ .country_code }}
-
$ curl {{ .ifconfig_hostname }}/ua
{{ .ua }}
-
$ curl {{ .ifconfig_hostname }}/port
{{ .port }}
-
$ curl {{ .ifconfig_hostname }}/lang
{{ .lang }}
-
$ curl {{ .ifconfig_hostname }}/encoding
{{ .encoding }}
-
$ curl {{ .ifconfig_hostname }}/mime
{{ .mime }}
-
$ curl {{ .ifconfig_hostname }}/forwarded
{{ .forwarded }}
-
$ curl {{ .ifconfig_hostname }}/all
{{ .hash_as_yaml }}
-
$ curl {{ .ifconfig_hostname }}/all.xml
{{ .hash_as_xml }}
-
$ curl {{ .ifconfig_hostname }}/all.json
{{ .hash_as_json }}
-
$ curl {{ .ifconfig_hostname }}/all.js
{{ .hash_as_js }}