$ curl ifconfig.me |
⇒ |
2606:6680:35:1::2d24:e1f4
|
$ curl ifconfig.me/ip |
⇒ |
2606:6680:35:1::2d24:e1f4
|
$ curl ifconfig.me/ua |
⇒ |
Wget/1.21
|
$ curl ifconfig.me/lang |
⇒ |
|
$ curl ifconfig.me/encoding |
⇒ |
identity
|
$ curl ifconfig.me/mime |
⇒ |
*/*
|
$ curl ifconfig.me/charset |
⇒ |
|
$ curl ifconfig.me/forwarded |
⇒ |
2606:6680:35:1::2d24:e1f4,2600:1901:0:b2bd::
|
$ curl ifconfig.me/all |
⇒ |
ip_addr: 2606:6680:35:1::2d24:e1f4
remote_host: unavailable
user_agent: Wget/1.21
port: 44892
language:
referer:
connection:
keep_alive:
method: GET
encoding: identity
mime: */*
charset:
via: 1.1 google
forwarded: 2606:6680:35:1::2d24:e1f4,2600:1901:0:b2bd::
|
$ curl ifconfig.me/all.json |
⇒ |
{"ip_addr":"2606:6680:35:1::2d24:e1f4","user_agent":"Wget/1.21","port":"44892","method":"GET","encoding":"identity","mime":"*/*","via":"1.1 google","forwarded":"2606:6680:35:1::2d24:e1f4,2600:1901:0:b2bd::"}
|