Command Line Interface
$ curl ifconfig.pw | ⇒ | 3.238.252.196 |
$ curl ifconfig.pw/ip | ⇒ | 3.238.252.196 |
$ curl ifconfig.pw/host | ⇒ | ec2-3-238-252-196.compute-1.amazonaws.com. |
$ curl ifconfig.pw/ua | ⇒ | CCBot/2.0 (https://commoncrawl.org/faq/) |
$ curl ifconfig.pw/port | ⇒ | 55192 |
$ curl ifconfig.pw/lang | ⇒ | en-US,en;q=0.5 |
$ curl ifconfig.pw/keepalive | ⇒ | |
$ curl ifconfig.pw/connection | ⇒ | Keep-Alive |
$ curl ifconfig.pw/encoding | ⇒ | gzip |
$ curl ifconfig.pw/mime | ⇒ | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
$ curl ifconfig.pw/charset | ⇒ | |
$ curl ifconfig.pw/via | ⇒ | |
$ curl ifconfig.pw/forwarded | ⇒ | 3.238.252.196 |
$ curl ifconfig.pw/all | ⇒ | ip_addr: 3.238.252.196 remote_host: ec2-3-238-252-196.compute-1.amazonaws.com. user_agent: CCBot/2.0 (https://commoncrawl.org/faq/) port: 55192 lang: en-US,en;q=0.5 connection: Keep-Alive keep_alive: encoding: gzip mime: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 charset: via: forwarded: 3.238.252.196 |
$ curl ifconfig.pw/all.xml | ⇒ | <info> <charset></charset> <connection>Keep-Alive</connection> <encoding>gzip</encoding> <forwarded>3.238.252.196</forwarded> <ip_addr>3.238.252.196</ip_addr> <keep_alive></keep_alive> <lang>en-US,en;q=0.5</lang> <mime>text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</mime> <port>55192</port> <remote_host>ec2-3-238-252-196.compute-1.amazonaws.com. </remote_host> <user_agent>CCBot/2.0 (https://commoncrawl.org/faq/)</user_agent> <via></via> </info> |
$ curl ifconfig.pw/all.json | ⇒ | {"connection":"Keep-Alive","ip_addr":"3.238.252.196","lang":"en-US,en;q=0.5","remote_host":"ec2-3-238-252-196.compute-1.amazonaws.com. ","user_agent":"CCBot/2.0 (https://commoncrawl.org/faq/)","charset":"","port":"55192","via":"","forwarded":"3.238.252.196","mime":"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8","keep_alive":"","encoding":"gzip"} |