From 12129808aa465cf69aaeffff1cb7426c1384e882 Mon Sep 17 00:00:00 2001 From: casjay Date: Wed, 11 Jun 2025 13:01:05 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20Committing=20everything?= =?UTF-8?q?=20that=20changed=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rootfs/opt/echoip/html/index.html --- rootfs/opt/echoip/html/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rootfs/opt/echoip/html/index.html b/rootfs/opt/echoip/html/index.html index bed6ab2..ed3b20b 100644 --- a/rootfs/opt/echoip/html/index.html +++ b/rootfs/opt/echoip/html/index.html @@ -311,7 +311,11 @@

Can I force getting JSON?

Setting the Accept: application/json
- header works as expected. + header works as expected.
+ IE: curl -q -LSsf -H "Accept: application/json" -4 { .Host } +
+ or: curl -q -LSsf -H "Accept: application/json" -6 { .Host } if + you have IPV6

Is automated use of this service permitted?

@@ -341,7 +345,7 @@ >https://github.com/casjaysdevdocker/ifconfig.

-


+

hosted on: REPLACE_HOST_NAME
Server IPV4: REPLACE_CURRENT_IP_4