From 08b210473827f20e1153175b1d53df284fb0a551 Mon Sep 17 00:00:00 2001 From: ooi18 <48976740+ooi18@users.noreply.github.com> Date: Mon, 24 Jun 2024 07:58:28 +0800 Subject: [PATCH] Update rtfm.md --- rtfm.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rtfm.md b/rtfm.md index c1856fa..44a291f 100644 --- a/rtfm.md +++ b/rtfm.md @@ -445,6 +445,10 @@ curl -I http://www.google.com ``` curl -kI https://www.google.com ``` +- Query geolocation info about an IP address: +``` +curl -s "https://api.ip2location.io/?ip=8.8.8.8&format=json" +``` - Display info about your public IP: ``` curl ipinfo.io