$ curl ifconfig.me |
⇒ |
159.146.32.226
|
$ curl ifconfig.me/ip |
⇒ |
159.146.32.226
|
$ curl ifconfig.me/ua |
⇒ |
|
$ curl ifconfig.me/lang |
⇒ |
|
$ curl ifconfig.me/encoding |
⇒ |
|
$ curl ifconfig.me/mime |
⇒ |
|
$ curl ifconfig.me/charset |
⇒ |
|
$ curl ifconfig.me/forwarded |
⇒ |
159.146.32.226,34.160.111.145
|
$ curl ifconfig.me/all |
⇒ |
ip_addr: 159.146.32.226
remote_host: unavailable
user_agent:
port: 54478
language:
referer:
connection:
keep_alive:
method: GET
encoding:
mime:
charset:
via: 1.1 google
forwarded: 159.146.32.226,34.160.111.145
|
$ curl ifconfig.me/all.json |
⇒ |
{"ip_addr":"159.146.32.226","port":"54478","method":"GET","via":"1.1 google","forwarded":"159.146.32.226,34.160.111.145"}
|