telize

High performance JSON IP and GeoIP REST API (IP Geolocation)
Log | Files | Refs | README | LICENSE

commit 73f38e5f8edd6d887230ab0d2b57bf7385a54596
parent 242a2df59bf737e93f6d404dabc899c47e186ffb
Author: Frederic Cambus <fred@statdns.com>
Date:   Mon, 14 Sep 2020 19:59:46 +0200

Add port number for endpoints examples, so they work with default settings.

Diffstat:
MREADME.md | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.md b/README.md @@ -83,26 +83,26 @@ project site. ### Get IP address in Plain text format -- Example: http://127.0.0.1/ip +- Example: http://127.0.0.1:8080/ip ### Get IP address in JSON format -- Example (JSON): http://127.0.0.1/jsonip -- Example (JSONP): http://127.0.0.1/jsonip?callback=getip +- Example (JSON): http://127.0.0.1:8080/jsonip +- Example (JSONP): http://127.0.0.1:8080/jsonip?callback=getip ### Get IP address location in JSON format Calling the API endpoint without any parameter will return the visitor IP address: -- Example (JSON): http://127.0.0.1/location -- Example (JSONP): http://127.0.0.1/location?callback=getgeoip +- Example (JSON): http://127.0.0.1:8080/location +- Example (JSONP): http://127.0.0.1:8080/location?callback=getgeoip Appending an IP address as parameter will return location information for the given address: -- Example (JSON): http://127.0.0.1/location/46.19.37.108 -- Example (JSONP): http://127.0.0.1/location/46.19.37.108?callback=getgeoip +- Example (JSON): http://127.0.0.1:8080/location/46.19.37.108 +- Example (JSONP): http://127.0.0.1:8080/location/46.19.37.108?callback=getgeoip ## License