You can use HTTP GET to retrieve data in plain text or use HTTP POST to retrieve data in JSON format.
Example Usage
curl https://ip.hsnl.workers.dev/clientIP
curl -X POST https://ip.hsnl.workers.dev
You can use HTTP GET to retrieve data in plain text or use HTTP POST to retrieve data in JSON format.
curl https://ip.hsnl.workers.dev/clientIP
curl -X POST https://ip.hsnl.workers.dev
IP Address | 3.145.34.237 |
Country | US |
ASN | 16509 |
City | Columbus |